Home forums Chart Support Detect when hit the left side on pan Reply To: Detect when hit the left side on pan

#32387

@davidaxel121,

How to apply this if i have more than one chart?

As shown in the shared JSFiddle, comparing viewportMinimum & minimum within rangeChanging event of the chart works for particular chart. Passing rangeChanging within options of all the charts where you like to check this logic should work fine.

And how to apply this if we have dates in axis X?

Comparing viewportMinimum & minimum within rangeChanging works fine irrespective of numeric or date-time axis.

___________
Indranil Deo
Team CanvasJS