Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Label Text Color PieChart #1280

Closed
ghost opened this issue Aug 1, 2016 · 1 comment
Closed

Change Label Text Color PieChart #1280

ghost opened this issue Aug 1, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 1, 2016

I am trying to change the label text color on a pieChart, with:

self.pieChartView.xAxis.labelTextColor = UIColor.blackColor()

Which results in the error:

public override var xAxis: ChartXAxis
{
fatalError("PieChart has no XAxis")
}

Any help is appreciated.

@liuxuan30
Copy link
Member

"PieChart has no XAxis", this is a recent change, check out ChartsDemo as example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant