C1.Win.Chart.FlexChart - changing data in series not rescaling y-axis

Posted by: richard.sadler on 14 July 2018, 9:56 pm EST

    • Post Options:
    • Link

    Posted 14 July 2018, 9:56 pm EST

    Hello,

    I have a Flexchart for which I have 4 data series already added to (with no data). I load up the data series at run time (the user can select various sets of data to be displayed in the chart but I only allow a maximum of 4 to be selected at any time)

    if I load all the data up in say 2 of the data series when I first load the control up, data sizing works as expected. If I then start loading data in the other data series, the Y Axis doesn’t always re-scale.

    Is there a way I can force the re-scaling?

    thanks

    Richard

  • Posted 15 July 2018, 11:05 pm EST

    Any chances that you have set the Axis Min/Max values? As by default FlexChart axes scale themselves according to data being plotted.But, if Min/Max values are set then they will prevent the axis scaling in the corresponding direction.For the axis to auto scale you need to set the Min/Max to their default values,i.e. double.NaN

    You can also refer to the attached sample for an example.

    Thank you.

    Prj_LoadDataAtRun.zip

  • Posted 16 July 2018, 9:09 am EST

    Yes, I was setting max and min values.

    thanks for your help

Need extra support?

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

Learn More

Forum Channels