question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Why not drawing dots when brushOn

See original GitHub issue

I’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:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gordonwoodhullcommented, Dec 1, 2016

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.

0reactions
tornordcommented, Jun 2, 2016

Thanks for a very detailed answer. I’m using D3/DC/Crossfilter more and more and hope I also will contribute

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found