You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// base cssimport"billboard.js/dist/theme/insight.css";importbbfrom"billboard.js";// for ESM environment, need to import modules as:// import bb, {line, zoom} from "billboard.js";varchart=bb.generate({data: {columns: [["sample",30,200,100,400,150,250,150,200,170,240,350,150,100,400,150,250,150,200,170,240,100,150,250,150,200,170,240,30,200,100,400,150,250,150,200,170,240,350,150,100,400,350,220,250,300,270,140,150,90,150,50,120,70,40]],type: "line",// for ESM specify as: line()},zoom: {enabled: true,// for ESM specify as: zoom()rescale: true},bindto: "#zoom"});
Description
Steps to check or reproduce
Use the sample "zoom" of https://naver.github.io/billboard.js/demo/#
and add the "rescale: true" in zoom block.
After I zoom in, the chart is reset to original offset when drag it to left or right.
I have try the 3.6.0, 3.6.2 and the same of demo page.
The text was updated successfully, but these errors were encountered: