UNPKG

safety-results-over-time

Version:

Chart showing population averages for lab measures, vital signs and other related measures during the course of a clinical trial.

15 lines (14 loc) 541 B
export default function drawBox(subgroup) { subgroup.boxplot.container .append('rect') .attr({ class: 'boxplot fill', x: subgroup.boxplot.left, width: subgroup.boxplot.right - subgroup.boxplot.left, y: subgroup.boxplot.y(subgroup.boxplot.probs[3]), height: subgroup.boxplot.y(subgroup.boxplot.probs[1]) - subgroup.boxplot.y(subgroup.boxplot.probs[3]) }) .style('fill', subgroup.boxplot.boxColor); }