Using v12.1
My chart type is a ScatterSeries
I have a numeric y axis which will typically have anywhere from 2-20 series displayed.
Each series have 2 different modes or data points (actual, adjusted) for performance reasons I create each series in code behind and set the YMemberPath to equal a property in data callled YValue, then outside the chart the operator has the ability to choose the value display. The code then updates the YValue property with the correct value.
This all works fine, when the values change the yAxis will automatically re-scales depending on the values.
The problem began when I had a requirement to add a 'zero' line to the adjusted values. What I did was create a ValueOverlay at 0 and add it to the chart series. Then when the operator selects 'Actual' mode I remove the series from the chart collection. At this point I expected the chart to rescale the same way as it did before I added a zero line, however, the zero line is gone but the chart wont rescale, it seems to think that zero is still a valid Y value.
I can't figure out how to make the chart readjust its yAxis
Hello,
If you want I can create a private case for you and you can send me the sample there.
Looking forward for your reply.
Sent sample via email
Thank you for your post. I have been looking into, but since this is not a known issue, I cannot be completely sure what can cause this behavior, so could you please send an isolated sample project, where this is reproduced, so I can investigate it further for you.