-
-
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 i customize the X axis text a different color? #1810
Comments
你应该用 "xAxis.labelTextColor = CQTextLightColor; "去改变label的颜色。 |
... 你看懂我的表达了吗?我不是不知道设置颜色的属性。我的问题是自定义,label设置不同的颜色。Did you read my expression?Not that I don't know set color properties.My problem is the custom, the label set a different color. |
现在明白你的意思了,不同的xAxis值对应不同颜色的label. 应该是用valueFormatter, 但我不知道怎么弄。 |
valueFormatter 只是让用户定义值而已 |
If you want show multiple colors, you should override x axis renderer |
Can i customize the X axis text a different color?
For example:
I only did this custom text followed the demo, I don't know how to set up a different color
The text was updated successfully, but these errors were encountered: