如何在点MPAndroidChart LineChart之间留出空间?

时间:2015-10-29 12:36:41

标签: android charts mpandroidchart

我使用MPAndroidChart,但不能在点之间留出空间。打开我的图表后now I have this,但想要this

1 个答案:

答案 0 :(得分:1)

如果您希望减少一次可以显示的最大值,请使用: chart.setVisibleXRangeMaximum(10)

全部在wiki中:https://github.com/PhilJay/MPAndroidChart/wiki/Modifying-the-Viewport