-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
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
reset button of zoom in "drag" mode is not worked properly after load() new data #3878
Labels
Comments
Hi @monexiao, please provide reproducible online fiddle for the check. |
After checking, I found the phonmenon occurs when the zoom option rescale is set as true. |
@monexiao confirmed the issue. I'll go over it. |
netil
pushed a commit
to netil/billboard.js
that referenced
this issue
Sep 13, 2024
Fix wrong domain value setting when .load() API is called after zoom and unzoom Ref naver#3878
github-actions bot
pushed a commit
that referenced
this issue
Oct 11, 2024
# [3.14.0-next.1](3.13.0...3.14.0-next.1) (2024-10-11) ### Bug Fixes * **api:** Fix to return indexed categories ([55c17c6](55c17c6)), closes [#3365](#3365) * **axis:** fix error when showing tick only ([705947f](705947f)), closes [#3881](#3881) * **bar:** Fix stacking bar position on multiple xs ([216da62](216da62)), closes [#3372](#3372) * **candlestick:** Fix rendering on rotated axis ([17f5058](17f5058)), closes [#3387](#3387) * **clip:** Fix x axis hide on title.bottom ([beec1bb](beec1bb)), closes [#3364](#3364) * **event:** Fix interaction with viewBox ([243bf3c](243bf3c)), closes [#3414](#3414) * **input:** Fix touch/mouse input detection ([3d4392a](3d4392a)), closes [#3854](#3854) * **option:** Fix inconsistency of padding ([0c1ce81](0c1ce81)), closes [#3426](#3426) * **shape:** Fix circleY() undefined error ([f4ac3f1](f4ac3f1)), closes [#3388](#3388) * **size:** Fix legend overflows with padding fit mode ([8357d11](8357d11)), closes [#3872](#3872) * **subchart, zoom:** Fix returning domain value ([90338ec](90338ec)), closes [#3347](#3347) * **subchart:** Fix handlebar position ([b897cbb](b897cbb)), closes [#3358](#3358) * **title:** fix title text center align ([b254a61](b254a61)), closes [#3363](#3363) * **tooltip:** Fix tooltip.format.value call ([f7d587d](f7d587d)), closes [#3371](#3371) * **tooltip:** Fix tootip display on tooltip.init ([98e6f8b](98e6f8b)), closes [#3369](#3369) * **zoom:** Fix unzoom after dynamic data load ([385907e](385907e)), closes [#3878](#3878) ### Features * **api:** Intent to ship subchart method ([976f04a](976f04a)), closes [#3342](#3342) * **axis:** Intent to ship axis.evalTextSize ([87048e9](87048e9)), closes [#3889](#3889) * **interaction:** Intent to ship interaction.onout ([9c668e6](9c668e6)), closes [#3887](#3887) * **module:** Support dual CJS/ESM package ([437c007](437c007)), closes [#2202](#2202) * **plugin:** Intent to ship TableView plugin ([215b611](215b611)), closes [#1873](#1873) * **regions:** Intent to ship regions.label ([b4e3bc2](b4e3bc2)), closes [#3319](#3319) * **render:** Add forced init option on lazy rendering ([218ce46](218ce46)), closes [#3106](#3106) * **resize:** Intent to ship resize.auto='viewBox' ([db21387](db21387)), closes [#3893](#3893)
github-actions bot
pushed a commit
that referenced
this issue
Oct 25, 2024
# [3.14.0](3.13.0...3.14.0) (2024-10-25) ### Bug Fixes * **axis:** fix error when showing tick only ([705947f](705947f)), closes [#3881](#3881) * **bar:** fix representation of radius for small data ([91b5dca](91b5dca)), closes [#3903](#3903) * **event:** Fix interaction with viewBox ([243bf3c](243bf3c)), closes [#3414](#3414) * **input:** Fix touch/mouse input detection ([3d4392a](3d4392a)), closes [#3854](#3854) * **point:** fix sensitivity error when blank area is clicked ([0060786](0060786)), closes [#3900](#3900) * **scale:** Fix non-shape's element positioned accurately ([216141b](216141b)), closes [#3907](#3907) * **size:** Fix legend overflows with padding fit mode ([8357d11](8357d11)), closes [#3872](#3872) * **zoom:** Fix unzoom after dynamic data load ([385907e](385907e)), closes [#3878](#3878) * **zoom:** Prevent error for out of range ([6f69e97](6f69e97)), closes [#3895](#3895) ### Features * **axis:** Intent to ship axis.evalTextSize ([87048e9](87048e9)), closes [#3889](#3889) * **interaction:** Intent to ship interaction.onout ([9c668e6](9c668e6)), closes [#3887](#3887) * **legend:** Pass visibility state to legend item's event callback ([ba71911](ba71911)), closes [#3897](#3897) * **render:** Add forced init option on lazy rendering ([218ce46](218ce46)), closes [#3106](#3106) * **resize:** Intent to ship resize.auto='viewBox' ([db21387](db21387)), closes [#3893](#3893)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
In "drag" zoom mode, the reset button will unzoom the graph to default settings.
If I use chart.load() to load new data, the and drag to zoom, and then click reset button, the unzoom() will show previous data range, not new data range.
Steps to check or reproduce
I use timeseries data, for example:
6. click reset button to unzoom, the chart show 8hr data, but actually total data is 1day data.
Refer to: https://codepen.io/monexiao/pen/bGPZPaQ
The text was updated successfully, but these errors were encountered: