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

Multiple colours for setValueTextColor and xAxis label with NSAttributedString #3566

Closed
nsandeep440 opened this issue Jul 18, 2018 · 2 comments

Comments

@nsandeep440
Copy link

nsandeep440 commented Jul 18, 2018

This is not an issue, might be an improvement if not exists.
Can anyone lemme know how to have different colours for value at each datapoint. setValueTextColor is one colour for all dataPoints.
and also xAxis label with NSAttributedString with different fonts with ranges.
Here is the image that I'm looking to implement.
required

I have posted this question on stack overflow
https://stackoverflow.com/questions/51395652/line-chart-xaxis-label-with-multiple-colour-using-ios-charts-and-linechartdata

@danielgindi

@nsandeep440 nsandeep440 changed the title Multiple colours for setValueTextColor and xAxis label with NSAttributedString Multiple colours for xAxis label Jul 18, 2018
@nsandeep440 nsandeep440 changed the title Multiple colours for xAxis label Multiple colours for setValueTextColor and xAxis label with NSAttributedString Jul 18, 2018
@nsandeep440
Copy link
Author

Fixed data-point values with using valueColors.
Anyone can provide a solution for xAxis label with two different colours. Is this achievable?

@liuxuan30
Copy link
Member

well.. if it's a new feature or enhancement, you are welcome to help :)

@jjatie jjatie closed this as completed Sep 17, 2018
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

3 participants