Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我目前正在使用 JFreeChart,但我的情节的结尾没有与轴相交,请看看我的照片。
我怎样才能摆脱这个问题?
您可以将域轴上的边距设置为零:
ValueAxis axis = plot.getDomainAxis(); axis.setLowerMargin(0); axis.setUpperMargin(0);