What does it take for .ticks() to work?

后端 未结 4 1222
孤独总比滥情好
孤独总比滥情好 2021-01-04 08:58

.ticks() doesn\'t seem to be working on my bar chart. Can somebody take a look?

Here\'s the fiddle. I set ticks on the x-axis near the beginning of the object:

4条回答
  •  礼貌的吻别
    2021-01-04 09:15

    ticks can take only multiple of 2,5,10 not any number . That is why you might be having problem . Please take a look at this answer for custom ticks.link

提交回复
热议问题