fix: move series in front of xy gridlines (#119)

This commit is contained in:
Krist Wongsuphasawat 2019-06-04 18:45:17 -07:00 committed by Yongjie Zhao
parent 091789c2ba
commit 58fce4b646
3 changed files with 3 additions and 3 deletions

View File

@ -120,9 +120,9 @@ export default class BoxPlot extends React.PureComponent<Props> {
xScale={convertScaleToDataUIScale(channels.x.scale!.config)}
yScale={convertScaleToDataUIScale(channels.y.scale!.config)}
>
{children}
{layout.renderXAxis()}
{layout.renderYAxis()}
{children}
</XYChart>
));
}

View File

@ -259,9 +259,9 @@ export default class LineChart extends PureComponent<Props> {
xScale={convertScaleToDataUIScale(channels.x.scale!.config)}
yScale={convertScaleToDataUIScale(channels.y.scale!.config)}
>
{children}
{layout.renderXAxis()}
{layout.renderYAxis()}
{children}
<CrossHair
fullHeight
strokeDasharray=""

View File

@ -135,9 +135,9 @@ export default class ScatterPlot extends PureComponent<Props> {
xScale={convertScaleToDataUIScale(channels.x.scale!.config)}
yScale={convertScaleToDataUIScale(channels.y.scale!.config)}
>
{children}
{layout.renderXAxis()}
{layout.renderYAxis()}
{children}
</XYChart>
));
}