@empet Thank you. Now I have a working solution.
I needed to do some math, so that it works with small values [0-999]
and with bigger values [1000 - 100.000.000] (“tsd”, “Mio”)
If values bigger than one billion are used, I just use the default “ticks”, because there is no corresponding abbreviation for “Billion” in german
Now, the only thing what displeases me, is that I have a fixed-amount of ticks for all screen-sizes.
Before this solution, I also tried to use the Plotly-JS Localisation-Files:
but that did not help me.
I would suggest that Plotly-JS should be able to “translate” the “k” (kilo) and “M” (million) with these translationfiles! Then I wouldn’t need to write “tickvals” and “ticktext” when I just want to translate a suffix…?!