Draw box plot min bar before IQR rect
This commit is contained in:
parent
f45a61e39d
commit
c45c5602ff
@ -116,6 +116,14 @@ var BoxPlot = React.createClass({
|
|||||||
strokeDasharray="3,1"
|
strokeDasharray="3,1"
|
||||||
strokeWidth={1}
|
strokeWidth={1}
|
||||||
style={{stroke: "#ccc"}} />
|
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"
|
<rect key="iqr"
|
||||||
x={x1}
|
x={x1}
|
||||||
y={p75Y}
|
y={p75Y}
|
||||||
@ -130,14 +138,6 @@ var BoxPlot = React.createClass({
|
|||||||
y2={medianY}
|
y2={medianY}
|
||||||
strokeWidth={2}
|
strokeWidth={2}
|
||||||
style={{stroke: "#444"}} />
|
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"
|
<line key="min"
|
||||||
x1={x1+2}
|
x1={x1+2}
|
||||||
x2={x2-2}
|
x2={x2-2}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user