I got a problem of chart showing,you can see it from the picture.The old version of charts has api spaceBetweenLabels
to set space Between Labels. I only find api spaceMax
and spaceMin
in the newest version. I try to use them to set space between Labels, but that failed. I also tried to use api labelWidth
to solve the problem, which failed too.
enter image description here
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Just set property xAxis.avoidFirstLastClippingEnabled
to true
, e.g.
myChart.xAxis.avoidFirstLastClippingEnabled = true
标签:
ios-charts