-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Why not drawing dots when brushOn #1152
Comments
I think that is there because the tooltip / title / popup function of the dots will interfere with the brush. Do you want the tips or just the dots? |
I understand. I want the dots and skip tips when brushOn. Comment out brushOn check gives me that feature function drawDots (chartBody, layers) { |
Links to previous discussion. The current functionality was implemented somewhat backward from how you might expect, for historical reasons, see #735. Previously the dots always appeared when the brush was off, #689 discussed this feature, of forcing the dots always on when I'm not sure, but I think that changing the flag to a three-way switch could be a backward-compatible solution. Default is 'auto', turn on or off depending on brush. False always disables the dots. True always enables them (and disables crosshairs and tips when the brush is on). This assumes that no one is setting the flag true currently. Alternately, even more paranoidly backward compatible, true is auto and 'always' enables them always. |
Thanks for a very detailed answer. I'm using D3/DC/Crossfilter more and more and hope I also will contribute |
I see now. There is no issue with the tips interfering with the brush, because the events don't get through. But I'm going to pull the @dalle fix from https://github.com/Kurappu/dc.js/tree/mks_patches for this, which implements the paranoid solution I described above, because |
I'll like to remove the brushOn criteria in drawDots, line 5891 in dc.js. Why is the test there?
The text was updated successfully, but these errors were encountered: