react-charts icon indicating copy to clipboard operation
react-charts copied to clipboard

Multiple Axis w/elementType "line" bug?

Open ghost opened this issue 4 years ago • 0 comments

if you go to : https://codesandbox.io/s/github/tannerlinsley/react-charts/tree/beta/examples/simple?file=/src/components/MultipleAxes.tsx

and you make all the secondary axis of type "line" and then on the 2nd secondary axis's getValue you multiply by some random number, one would espect the secondary axis to adjust to the correct min/max values based on the new data resulted from the multiplication above and the first secondary axis to remain the same, but instead you get the line chart of the first axis skewed and the secondary stays in the correct size.

Espected behaviour: each "secondaryAxis" should scale independently and totally ignore the other axis...

ghost avatar Sep 08 '21 13:09 ghost