I have trouble setting all tick marks on X-axis to land on Sunday. No matter what date I choose for tick0, all tick marks land on Saturday for some reason. The same parameter settings work in python, but not on plotly.js
Here is my code:
‘xaxis1’: {‘anchor’: ‘y1’,
‘domain’: [0, 1.0],
‘tick0’: ‘2016-01-03’, # This is a random Sunday so all tick marks will land on Sunday
’dtick’: 604800000.0, # This is 7 days in milliseconds. 7 * 86400000.0
}
data for xaxis are date strings in the format ‘2016-01-01’