Zoom Rectangle in FlexChart?

Posted by: mhamilton on 29 January 2018, 7:04 pm EST

    • Post Options:
    • Link

    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!

  • Posted 7 June 2018, 5:50 am EST

    Hi,

    Following is the response we received from the development team

    Axis has public double Convert(double) & ConvertBack(double) methods which can be used in this case.

    Could you please check if it helps.

    Thanks,

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels