-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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 LineChartDataSet label color not value color. #2944
Comments
where do you display your label? |
By default it gets displayed in the bottom of the graph. Is there a way to change the color of the label of LineChartDataSet? (Funny my exact question was right here waiting for me.) |
The label here you refer the label on legend? I don't remember we support display data set label on the shape? |
Same. I want to change the label color. But couldn't. |
you need to override it with an color array. |
|
let line1 = LineChartDataSet(values: lineChartEntry, label: "TP Data")
I want to change the label which is in my case "TP Data" color which is black. I don't want to change the value color.
The text was updated successfully, but these errors were encountered: