2016-11-04 100 views

回答

0

是的! ,但是在iOS平台上实现。 但我使用下面的代码。

self.lineChartView.xAxis.labelTextColor = UIColor.white 
    self.lineChartView.leftAxis.labelTextColor = UIColor.white 
    self.lineChartView.rightAxis.labelTextColor = UIColor.white 

事实证明,X轴Y轴和成为白色标签,但仍然停留在黑...

it is wired...

0

我看到你说“的标签仍然停留在黑”,但它的不是轴的标签。这是传说。

你应该使用改变它

chart.legend.textColor = yourColor 

默认为黑色。 祝你好运〜