Visible range

Hello,
I have primary DateTimeAxis. I have data series where new point is added every minute - x coordinate (datetime) of newly added point is NOW. I want my datetimeaxis to always have visible range from (NOW minus 60 minutes) to (NOW + 5 minutes) until I zoom or pan my chart using ChartZoomPanBehavior. While zooming/panning there should be no restriction of zoom/pan range, i.e. I should be able to zoom out/pan to -nfinite or +infinite of datetimeaxis in extreme.

Is that possible with sfchart? How can I achieve that?

1 Reply

DS Durgadevi Selvaraj Syncfusion Team January 2, 2018 05:08 PM UTC

Hi Martin, 

Thanks for contacting Syncfusion Support. 

It is possible to keep the minimum as less than 60 minutes from now and maximum as greater than 5 minutes from now until user zoom and pan the Chart. But, we need to specify the minimum and maximum to restrict the panning at each direction instead of infinitive. So, could you please let us know the purpose of panning at each direction whether it contains data or you would like to show the empty Chart. 

Regards,
Durgadevi S
 


Loader.
Up arrow icon