Hello,
I’m embedding a plotly column chart in my application that lets users interact with the data through a date filter.
As a beginner I’m absolutely fine with how plotly displays the ticks by default, except for one thing: when there is no data in the graph, it displays decimal ticks (like 0, 0.5, 1, 1.5 etc). This doesn’t make sense in my use case:
I did some digging but I cannot find a way to make plotly display whole numbers without messing up something else. For example, I tried setting setting tickmode to linear but that leads to things looking ridiculous when there is a lot of data in view:
There has to be an easy way to achieve this, I hope that somebody can help me
Thanks in advance!