In my application I have been referring to this example https://flutter.syncfusion.com/#/range-selector/zooming.
The issue I'm facing is that when I zoom or pan in the top graph the Range Selector cursors move to the correct positions. But when I move the cursors of the Range Selector directly, the upper graph doesn't zoom.
Following are the observations:
- Moving the left cursor doesn't bring about any change in the Top graph.
- Moving the right cursor shifts the plot towards the right side of the top chart without any zoom and the right most value on the top chart matches the the value of the right cursor of Range Selector.
- Since there is no zoom, the Top graph extends the X axis towards the left. Since there are no data points in the extended portion of the graph we get a white space.
- Trying to zoom or pan the Top chart after the above step resets both the Top graph and the Range selector to their initial values.
Please find attached a Dart file containing the related code and the images explaining the issue.
Attachment:
attachment_562c94ef.rar