Hi
I have a SfCartesianChart and using
- FastLineSeries
- DateTime X axis
- MacOS
I can't get Selection Zoom to work.
Wheel-zoom works but not Selection Zoom.
Anything I need to be take care of when using Selection Zoom?
I have run your sample and it works. However, I can't get it to work in my own app.
Does the chart needs to be in the BODY of a Scaffold to work properly?
can the chart be inside another Widget?
Are you able to check if the chart widget 'Selection Zoom' works with the flutter_menu widget?
Below:
flutter_menu | Flutter Package (pub.dev)
Thanks!
I download the sample and tested and it indeed is working.
However, I still can't get it to work properly on my side.
I noticed a new thing;
When I first load my app, the chart is working with Selection Zoom.
When I navigate to another section of the app and come back, the chart resets to full chart (zoomed out) and selection zoom no longer works.
I wonder what is causing this?