[FullBindable] How to trigger View XY ZoomToFit when BarSeries Changed
Posted: Tue Nov 05, 2019 2:40 pm
Hello,
I am using full bindable v8.4.3 WPF Ligthing ultimate chart.
I have a "histogram like" view (barseries ViewXY chart) displayed, bind to a BarSeriesCollection VM object member. Barseries could be added,removed or modified at any time. Collection are modified within VM.
How to perform a ZoomToFit action in View each time this collection is changing ?
I have already tried to bind Minimum and Maximum from axes but the result obtain is not as fancy as a ZoomToFit action.
I also did not manage to use CollectionChanged event correctly.
Any help will be greatly appreciated.
I am using full bindable v8.4.3 WPF Ligthing ultimate chart.
I have a "histogram like" view (barseries ViewXY chart) displayed, bind to a BarSeriesCollection VM object member. Barseries could be added,removed or modified at any time. Collection are modified within VM.
How to perform a ZoomToFit action in View each time this collection is changing ?
I have already tried to bind Minimum and Maximum from axes but the result obtain is not as fancy as a ZoomToFit action.
I also did not manage to use CollectionChanged event correctly.
Any help will be greatly appreciated.