[英]Space between axis line and axis label ios MPChart
For above XAxis
and leftAxis
you need to change offset
property of axis as mention below : 对于上面的
XAxis
和leftAxis
您需要如下所述更改axis的offset
属性:
//For left Axis
lineChartView.leftAxis.xOffset = 20.0;
//For XAxis
lineChartView.xAxis.yOffset = 20.0;
By this you can achieve offset in your Axis
. 这样,您可以在
Axis
实现偏移。
Check this image with 20.0 offset value: 使用20.0偏移值检查此图像:
Hope this will helps. 希望这会有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.