1
0
Fork 0

Draw box plot min bar before IQR rect

This commit is contained in:
Gregory Eremin 2015-10-30 20:46:57 +03:00
parent f45a61e39d
commit c45c5602ff
1 changed files with 8 additions and 8 deletions

View File

@ -116,6 +116,14 @@ var BoxPlot = React.createClass({
strokeDasharray="3,1"
strokeWidth={1}
style={{stroke: "#ccc"}} />
<line key="min-bar"
x1={x1+width/2}
x2={x1+width/2}
y1={minY}
y2={p25Y}
strokeDasharray="3,1"
strokeWidth={1}
style={{stroke: "#ccc"}} />
<rect key="iqr"
x={x1}
y={p75Y}
@ -130,14 +138,6 @@ var BoxPlot = React.createClass({
y2={medianY}
strokeWidth={2}
style={{stroke: "#444"}} />
<line key="min-bar"
x1={x1+width/2}
x2={x1+width/2}
y1={minY}
y2={p25Y}
strokeDasharray="3,1"
strokeWidth={1}
style={{stroke: "#ccc"}} />
<line key="min"
x1={x1+2}
x2={x2-2}