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"
|
||||
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}
|
||||
|
|
Loading…
Reference in New Issue