✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Ticklabel between tickvals or some other way to push ticktext to the right

I have the following image which is a simple five day ohlc chart.

The ticklabel makes some sense that the period begins on the tickmark but for a daily ohlc graph, it would make more sense for the ticklabel/date to be placed between the tickmark and the following tickmark. Is there any way to make such an adjustment?

I thought of this strategy to use blank labels on the edges and create a new tickval in the center. The two problems with that are 1) I don’t want the tickline in the center and 2) cases like this where there are and odd number of lines (13 - every 30 minutes) so the middle bar will not be directly between the start and end ticklines.

I figured out a step in the right direction myself. Setting layout: { ‘xaxis’: { ‘tickangle’: 0.000001 } } displays the label with it left aligned to the tickmark instead of centered. Not perfect, but probably good enough.