Why not drawing dots when brushOn
See original GitHub issueI’ll like to remove the brushOn criteria in drawDots, line 5891 in dc.js. Why is the test there?
function drawDots (chartBody, layers) {
if (!_chart.brushOn() && _chart.xyTipsOn()) {
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Brush tool creates (lagging) dots instead of strokes/lines 15 ...
This would sometimes result in brush strokes appearing as dots and not lines. And if you have Use Pressure enabled (which most of...
Read more >brush and pencil only drawing in dots cant switch to solid line
It seems you are using the Pencil Tool with a big spacing value. Thats why you get these dotted lines with jagged looking...
Read more >Dots instead of lines with quick strokes all of a sudden? - Reddit
This isn't really a fix but it's something I've been doing when I get dots while drawing strokes: press the Windows key or...
Read more >Can't draw anything but dots in photoshop 6? [closed]
My mouse and wacom only recognizes one touch but anything which require holding like drawing its not working. Anybody got any ideas? Cheers!...
Read more >Getting a dot on the end of a brush stroke · Issue #556 - GitHub
For some reason I'm getting a dot at the end of every brush stroke. Actually it's not a big deal when I draw...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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
xyTipsOn()
defaults to true and I don’t want to change the current behavior in 2.0.Thanks for a very detailed answer. I’m using D3/DC/Crossfilter more and more and hope I also will contribute