Home forums Using CanvasJS Zoom and Panning Reply To: Zoom and Panning

#23387

amolpatil
Member

I want to bind data to chart as per month. e.g data available for 1 Jan 2017 to 30 Nov 2018 then 23 month’s data will display on the chart on x-axis like Jan 17, Feb 17, March 17 ….., Jan 18, Feb 18 …., Nov 18.
Then If the user drags the selection from Jun 16 to Feb 18 then I want to display data on day wise only for selected date range not all data for 23 months. Can I get the start date and end date on drag event?