Open Shanmukhi-gandham02 opened 1 month ago
I'm not totally sure off the top of my head, but have you tried using two scatter charts as siblings, something like:
....
<CartesianChart
yKeys={["y", "y2"]} ... >
....
<Scatter
radius={scatterRadius}
points={points.y}
animate={{ type: "spring" }}
color={colors.blue}
/>
<Scatter
radius={scatterRadius}
points={points.y2}
animate={{ type: "spring" }}
color={colors.red}
/>
....
Question
Is it possible to display multiple y-values for the same x-value in a scatter chart?