We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After setting zoom programmatically, scrolling in one step then out one step will reset zoom to original (as if .unzoom had been called).
.unzoom
I observed this with Chrome 91 & Firefox 90, but not Firefox 89.
https://stackblitz.com/edit/udgqfr?file=index.js
var chart = 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", }, zoom: { enabled: true, }, bindto: "#zoom" }); chart.zoom([24, 30]);
The text was updated successfully, but these errors were encountered:
Hi @jimmy764, thanks for the report.
Sorry, something went wrong.
fix(zoom): fix inconsistent zoom on .zoom() -> wheel
172a4a4
Refactor zoom transform and its releated codes. Ref naver#2194
0191e58
ddd89cb
4eee2d8
chore(release): 3.1.3 [skip ci]
4272b4f
## [3.1.3](3.1.2...3.1.3) (2021-07-28) ### Bug Fixes * **api:** fix subchart APIs usage with zoom reset button ([982f6ee](982f6ee)), closes [#2201](#2201) * **axis:** fix bar type tick.fit=false throwing error ([083f5c7](083f5c7)), closes [#2210](#2210) * **axis:** fix handling x axis localtime ([1d2ce8f](1d2ce8f)), closes [#2186](#2186) * **Axis:** fix transition on flow ([a656fe5](a656fe5)), closes [#2189](#2189) * **shape:** fix incorrect shape offset ([d2be8c0](d2be8c0)), closes [#2187](#2187) * **types:** fix wrong legend.item callbacks args types ([1196bbf](1196bbf)), closes [#2203](#2203) * **zoom:** fix inconsistent zoom on .zoom() -> wheel ([4eee2d8](4eee2d8)), closes [#2194](#2194)
netil
No branches or pull requests
Description
After setting zoom programmatically, scrolling in one step then out one step will reset zoom to original (as if
.unzoom
had been called).I observed this with Chrome 91 & Firefox 90, but not Firefox 89.
Steps to check or reproduce
https://stackblitz.com/edit/udgqfr?file=index.js
The text was updated successfully, but these errors were encountered: