标签: android charts mpandroidchart
我使用MPAndroidChart,但不能在点之间留出空间。打开我的图表后now I have this,但想要this。
答案 0 :(得分:1)
如果您希望减少一次可以显示的最大值,请使用: chart.setVisibleXRangeMaximum(10)
chart.setVisibleXRangeMaximum(10)
全部在wiki中:https://github.com/PhilJay/MPAndroidChart/wiki/Modifying-the-Viewport