admin管理员组

文章数量:1391943

I'm using androidplot: 1.5.11 to display a simple bar chart, with domain labels at the top. However, the first and the last bars are cropped off. The domain labels at the top are also cropped, as you can see in the image. My bar chart render

I've tried almost everything,

I've set insets: plot.getGraph().setGridInsets(new Insets(50,0,100,100));

I've set padding: plot.getGraph().setPadding(100, 10, 80, 50);

I've set domain boundaries: plot.setDomainBoundaries(0, 3, BoundaryMode.FIXED);

The documentation doesn't have enough information I am doing hit and trial here. But nothing seems to work and there's rarely anything on here which isn't from 13 years ago. So if anyone has solved this problem recently, please help.

本文标签: How to adjust the domain in androidplot so that the Bar Chart isn39t clippedStack Overflow