We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c341137 commit c9c34ebCopy full SHA for c9c34eb
src/components/Chart.tsx
@@ -647,6 +647,11 @@ function ChartInner<TDatum>({
647
}}
648
onClick={e => options.onClickDatum?.(focusedDatum, e)}
649
>
650
+ <g className="axes">
651
+ {[primaryAxis, ...secondaryAxes].map(axis => (
652
+ <AxisLinear key={[axis.position, axis.id].join('')} {...axis} />
653
+ ))}
654
+ </g>
655
<g
656
className="Series"
657
style={{
@@ -655,11 +660,6 @@ function ChartInner<TDatum>({
660
661
{seriesEl}
662
</g>
658
- <g className="axes">
659
- {[primaryAxis, ...secondaryAxes].map(axis => (
- <AxisLinear key={[axis.position, axis.id].join('')} {...axis} />
- ))}
- </g>
663
<Voronoi />
664
{options.renderSVG?.() ?? null}
665
</svg>
0 commit comments