Posted 29 January 2018, 7:04 pm EST
Is there a way to zoom using a zoom rectangle in FlexChart just like we were able to do in c1Chart?
Forums Home / ComponentOne / WinForms Edition
Posted by: mhamilton on 29 January 2018, 7:04 pm EST
Posted 29 January 2018, 7:04 pm EST
Is there a way to zoom using a zoom rectangle in FlexChart just like we were able to do in c1Chart?
Posted 30 January 2018, 3:01 am EST
Hello,
Yes, C1FlexChart also supports zooming using a rectangle. Please refer attached video showing the same (rectangle drawn might not be visible sometimes, in the video).
I have also attached a sample application showing how to implement the same. Please navigate to Zoom option on the left to test the zooming feature in C1FlexChart.
Thanks,
Ruchir Agarwal
FlexChartExplorer.zip
Posted 30 January 2018, 4:56 pm EST
How do you do it if the x-axis is a DateTime? The loss casting from a double DateTime value to a float PointF value causes the zoom to act weird.
Thanks again for the help!
Posted 1 February 2018, 7:25 am EST
Hello,
We have requested the concerned team for adding an overload to the method PointToData, for working with Double type values {Tracking ID: 306839}. It would be added in one of the future builds, if they find it feasible.
Meanwhile, could you please use ConvertBack method of Axis to use the Double type value, doing this will not need any data casting and would prevent accuracy loss.
~Ruchir Agarwal
Posted 2 February 2018, 8:23 pm EST
Thank you!