Home forums Using CanvasJS How to render histograms Reply To: How to render histograms

#26855

@nancy-gale,

When the chart is zoomed, you can find whether a dataPoint is within the viewport range or outside with the help of rangeChanged event. Please take a look at this JSFiddle for nearest possible solution to set the dataPointWidth by finding the number of dataPoints within the viewport range.


Vishwas R
Team CanvasJS