parallel-coordinates icon indicating copy to clipboard operation
parallel-coordinates copied to clipboard

ticks() doesn't work as expected

Open julianheinrich opened this issue 9 years ago • 2 comments

The minimal example in the documentation uses ticks(3) but more than 3 ticks are shown for some axes.

Removing this from examples page until fixed.

julianheinrich avatar Feb 14 '16 23:02 julianheinrich

This forwards on to d3.scale.linear.ticks: https://github.com/mbostock/d3/wiki/Quantitative-Scales#linear_ticks

"The specified count is only a hint; the scale may return more or fewer values depending on the input domain."

syntagmatic avatar Feb 15 '16 21:02 syntagmatic

I see. Removed the 'bug' label, so remains documentation issue ;-)

julianheinrich avatar Feb 16 '16 07:02 julianheinrich