-
-
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
Can't change X-axis label color #387
Comments
I'm an idiot, nvm. It was approximately |
Actually, i'm not an idiot. It was pretty different from the Android docs such that it took me a few minutes to figure out. XLabels label = chart.getXLabels();
label.setTextColor(getResources().getColor(android.R.color.white)); iOS: var xAxis = chartView.xAxis
xAxis.labelTextColor = UIColor.whiteColor() |
The android docs are not up to date... there's no |
ahh, ic ic |
Hi, |
I found solution: |
@danielgindi @codehatcher Is there a way to change the background color instead of text color? |
What if I want to change text color of specific labels on y axis/x axis ? Is there any way ? Thanks |
I've also the same problem as @amish-infosys. I need to color/bold label of concrete x axis when its value is tapped. However, I just find the way of setting color for every label of x axis, not just for one. Any idea on this? Thanks |
I'm trying to change the x-axis label but am unable to do it. Any idea if this is implemented? It's the same thing he is trying to do here. PhilJay/MPAndroidChart#319
The text was updated successfully, but these errors were encountered: