I am using plotly js together with Vue and try to overcome inconsistent behavior that causes a display bug.
so I have small issue and I don’t know how to handle that part.
Config: {
type: ‘date’,
showgrid: true,
tickfont: {
color: ‘rgba(255,255,255,1)’,
size: 12,
},
ticklen: 5,
tickwidth: 1,
tickmode: ‘auto’,
nticks: 10,
}
The issue:
When I select month resolution in 4 years data the ticks show perfect for long period,
but when I am making zoom in and the period is coming maybe 3 months or 4 months, that time the tick side is showing wrong, it is including same month twice,
if u made more zoom in for 1 month,
That time all tick calculated by week or by hour.
Normally I have control u can’t more zoom in or out.
but issue when I have less than 5 months, all the tick label include week and day.
How can I handle this problem?