javascript - How enable zoom for second y axis in charts JS -
i have 2 y axis in graph , both of needs zoomed on scroll.chart plugin () provides options - x,y,xy.here, xy zooms first y axis not not second.
{ // container pan options pan: { // boolean enable panning enabled: true, // panning directions. remove appropriate direction disable // eg. 'y' allow panning in y direction mode: 'xy' }, // container zoom options zoom: { // boolean enable zooming enabled: true, // zooming directions. remove appropriate direction disable // eg. 'y' allow zooming in y direction mode: 'xy', }
}
Comments
Post a Comment