plotly.js
plotly.js copied to clipboard
More control over tick text alignment
Perhaps via layout.axisid.tickalign & layout.axisid.tickvalign -- both accepting a number on a 0-1 scale? Here's an example of tickalign=1 (the default) vs tickalign=0

Another use case is centering labels between ticks. A request has come in to replicate this type of label positioning

Basically here we just want a new ticksbetweenlabels boolean.
@cpsievert was talking here about how to align the tick label relative to its anchor point. I see that as a very different feature from whether the ticks and labels even have the same anchor point - which is the subject of #2601, lets continue the latter discussion over there.
Ah you're right, sorry. @bpostlethwaite had tagged this issue so I just followed suit :)
@nicolaskruchten Does the latest release allow ticksbetweenlabels for other types than category?
No, tickson: 'boundaries' is only available for 'category' and 'multicategory' axes at the moment.
The ticksbetweenlabels boolean would be really useful for heatmaps and images, in order to have ticks at the boundary between pixels.
This issue would be resolved by #7006.