We are trying to create a simple Stacked Column Plot with two Y-Axis.
Imagine the left Y is Time spent during a year playing a sport and the right is percentage of the year playing a sport.
The data series is tied to the primary (left) y-axis, but we want the right to be in sync at all times
At the moment, I can zoom in ok, but when I reset the extents (zoom out) the right axis just stays to the zoomed in values and is not reset.
I have tried creating a “fake” series, but this takes up space and I cant hide it. If I set to isVisible = false, then the right axis stops working again.
This seems like a simple problem – any ideas how I can fix it 🙂
Thank you for getting in touch. This is the behavior by default, if there is no series or a series is invisible, an axis cannot zoom to the extents of data.
What about binding VisibleRange of the right axis to VisibleRange of the left axis? You may need to use a ValueConverter to convert time to percentage.
Does this make sense?
Please login first to submit.