Philippe Rivière
Philippe Rivière
From the screen capture my feeling is that this is a different system than the one implemented for brush. With brush, the interaction mark shows the selected region, and is...
The current best is https://github.com/d3/d3-shape/pull/168
I'm confused by your remark since dotY does accept both x and y (it's just defaulting y to identity, and x to undefined) ;-) Anyway, yes, I'd be inclined to...
I think the difference between brushX(… {y}) and brush(… {y}) would be if the brush highlights the logical selection; in the first case brushX(… {y}) the brush is horizontal, but...
This branch currently breaks brushX and brushY on a 2-d scatterplot. can be fixed by 020a1ea5bec4776698193a57eac44b6faa4d132d
The case I found "broken" is when you want the data to be a 2-d scatterplot, and the brush to be on X only. This (in my mind) is what...
I've reverted my commit and updated my mental model!
Adapting to labels' lengths would also make the chart behave unpredictably. There should be a better method than guesstimating though.
@enjalot would we restrict this to ordinal scales? I could see the defaults being different for numbers and for strings… In practice I often have to marginLeft in both cases,...
This issue was made a bit worse by the new tabular style on numbers.