Open
Description
Minor ticks don't work as expected when the following three axis properties are combined:
xaxis: {
tickformat: '%Y',
ticklabelmode: 'period',
minor: {
ticks: 'inside'
}
}
The minor ticks don't show up. Changing the tickformat
to anything below the year frequency (e.g. %b %Y
) lets the minor ticks appear. Removing the ticklabelmode
also makes the minor ticks appear.
Here is a codepen that demonstrates the issue:
https://codepen.io/Djeramon/pen/vYQzPOa
Expected behaviour: Minor ticks should appear.
It is unclear, why the minor ticks shouldn't work with a yearly frequency on the major ticks.