-
Notifications
You must be signed in to change notification settings - Fork 32
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
Click-axis-to-reset-brush does not work with multi brush? #10
Comments
Hey @BigFatDog, I know you must be busy with regular work, but is there a ballpark estimate for a fix for this? |
@ManiacalAce Thank you for your understanding. I want to fix this bug in the coming week. |
@ManiacalAce Done. |
Nice! |
It seems there a problem with npm repo. I can see the versions are inconsistent
I've opened a ticket to npm team. I'll let you know when this is fixed. |
I got 2.0.7 now from npm, thanks. The click-to-reset bug seems fixed, but there's a slightly unexpected behaviour. The old mode (1D-axes) still works as before. If I clear all brushes by clicking on axes, nothing is highlighted anymore. |
Are you using the brush.html for testing? |
@ManiacalAce I haven't got your idea yet. When chart is loaded without any brush action, let's call this the initial state.
Behaviors of click-to-reset feature are consistent in both From your description, I guess we may have different observations. Which demo page did you use? |
@BigFatDog Sorry for the delay. I'll get back to you with a concrete example in 5-6 hours. I wasn't using the included examples - I was basing it off of observations in my product where we use this lib. The gist of it is that it seems like in multi mode, clicking to reset seems to select everything on the chart. Let me re-verify and get back to you by evening. |
@BigFatDog Seems like my issue stems from something else related to colors. I was trying to have one color for regular, untouched stuff, and a different color for brushed items - which i could swear was possible in the original fork of this lib. For example, If I have this (with
Initially, the lines are blue, as expected. Then when I brush some items, they become red. Then, when I click to reset, everything is red (when I expect it to be blue). |
The new bug that has been found by @ManiacalAce has been recorded in #13 After Click-to-Reset 1d-axes-multi brush, paths are rendered in brush color This issue is closed because original bug has be resolved. |
The multi brush feature works nicely, but in that mode it seems we can no longer click on the axis to clear the brushes.
In single-brush mode, it click-to-reset still works fine.
This can be seen in the included demo for multi-brushes.
The text was updated successfully, but these errors were encountered: