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

#23421

amolpatil
Member

Hi Priyanka,
Here I have created 2 js fiddle. In my scenario, I want to bind month level data to chart and if the user drag mouse pointer for selection then need to call another API and bind day level data.
1 -> I want to bind data month wise so for each month one point as per year. Month wise data .

Then suppose a user wants to see data day wise then he can drag mouse pointer from Feb to March so depends on that event Can I get the start date and end date of that drag event. So that using that start date and end date I can to call another API and get data for that duration and bind to that chart as per day.

2-> As shown in this jsfiddle Day wise data