fix zoom mode
+ update README.md
This commit is contained in:
@ -1694,7 +1694,7 @@ function Graph(gindex, container, x_label, y_label, tag, scaleType = "linear"){
|
||||
* @param {string} to - The zoom mode to set
|
||||
*/
|
||||
function setZoomMode(to){
|
||||
chart.options.zoom.mode = to;
|
||||
chart.options.plugins.zoom.zoom.mode = to;
|
||||
}
|
||||
|
||||
// Unused
|
||||
|
Reference in New Issue
Block a user