Home forums Using CanvasJS Stacked Histogram with zoom capability ans numeric x-axis Reply To: Stacked Histogram with zoom capability ans numeric x-axis



i am looking for a chart control that can fulfill my requirements. i want to create a stacked histogram with numeric x axis . moreover i should be able to draw strip line wherever user click and i should be able to drag those striplines. is it possible with canvas js . please let me know so that we can purchase your product.

Please take a look at this JSFiddle.

i found your one example fiddle regarding mouse scroll zoom. my x axis data will be upto 7 to 8 decimal points. it wasn’t zooming properly when i tried with such data https://jsfiddle.net/canvasjs/hk6ozc4L/
its not allowing me to zoom in after a certain level

We don’t support zooming on mouse scroll event inbuilt. The JSFiddle shared was just to demonstrate how zooming can be achieved using mouse-scroll with the help of viewportMinimum and viewportMaximum. However, can you please share the JSFiddle with your use-case so that we can improve the example and make it more generic?

Shashi Ranjan
Team CanvasJS