最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to adjust the domain in androidplot so that the Bar Chart isn't clipped - Stack Overflow

programmeradmin1浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论