ShinobiChart : appending data causes zoom level reset


#1

Hi all,

whenever i call “redrawChart” after adding new points to a serie, the zoom level is lost, causing the chart to return displaying the entire serie.

Any help?

Davide


#2

You can stop the zoom level being changed by setting “chart.autoCalculateAxisRanges = NO” while appending.


#3

Thank you!

Worked like a charm!


#4

Is it possible to activate it only on the X axis like on Android with chart.XAxis.CurrentDisplayedRangePreservedOnUpdate ?


#5

It’s not currently possible, however this is something that will be available in our next release.

There isn’t a concrete date for this yet, however it is likely to be in the next few weeks. I’ll make a note on our system to post an update when it goes live.

Thanks,

Sam