fix zoom mode

+ update README.md
This commit is contained in:
l_samenv
2024-09-25 11:15:35 +02:00
parent 9ed6f75ace
commit 6f318f26b7
2 changed files with 9 additions and 7 deletions

View File

@ -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