panByValue not triggering sChartIsPanning delegate callback


#1

Hi,

I need to programatiicaly pan the chart using panByValue.

It’s working fine, however, the delegate method sChartIsPanning doesn’t get called during the pan operation and therefore the dynamic parts of my chart (annotations) are not updated.

Is there a fix?

Thanks

Scott


#2

Hi Scott,

The delegate methods are only called when a user is directly interacting with the chart - programmatic panning/zooming don’t invoke these delegate callbacks.

If you’re not using SChartAnnotations which are updated when the chart is panned programmatically, you may have to implement the sChartRenderFinished delegate method and update the dynamic parts of your chart there.

I hope that helps,

Sam