plot icon indicating copy to clipboard operation
plot copied to clipboard

ensure an axis has at least two ticks

Open Fil opened this issue 1 year ago • 0 comments

In most conditions a continuous axis (temporal or quantitative) should always show at least 2 ticks, so we get an idea of its domain. I believe that this should even be a default.

What we want to avoid is this situation which sometimes happens with responsive charts, and is hard to control.

before

instead we want after

And if there isn't enough space, it's better to have min and max, even if they are a bit crammed into each other, than just a non-informative 0.

Fil avatar Feb 12 '24 11:02 Fil