JFreeChart and Y-axis Units

后端 未结 3 1667
梦如初夏
梦如初夏 2021-01-14 11:00

I have a StackedXYAreaChart that looks like the following:

\"enter

How do I fo

3条回答
  •  难免孤独
    2021-01-14 11:39

    Assuming a NumberAxis, set the tick unit to 25. There's a related example here.

    axis.setTickUnit(new NumberTickUnit(25));
    

提交回复
热议问题