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

Multi colors for linechart's circles #730

Closed
ghost opened this issue Feb 2, 2016 · 6 comments
Closed

Multi colors for linechart's circles #730

ghost opened this issue Feb 2, 2016 · 6 comments

Comments

@ghost
Copy link

ghost commented Feb 2, 2016

How can I set multi colors for some circles of a line chart. Like this graph.
screen shot 2016-02-02 at 2 55 11 pm

@siideffect
Copy link

Did you try the dataset property circlecolors? U must provide an array of colors for the circle
dataset.circleColors = [UIColor.whiteColor(),UIColor.blackColor()]

You have to look at dataset properties

@liuxuan30
Copy link
Member

good job @siideffect

@ghost
Copy link
Author

ghost commented Feb 24, 2016

@siideffect: array of colors only help you create circlecolors with this: white, black, white, black, white, black and so on... What if I told you that, how to present circlecorlors like this: white, white, black, white, .....

@jrPT
Copy link

jrPT commented Jun 15, 2016

@phuonglm86 you can use an array of UIColors with the same amount of elements as you used to set the chart's data.

@G-Singularity
Copy link

hey, brother, I also need this. How did you do that ? I need the points colors are depend by the datas, so the circleColors colors array didn't work. You had solve this ?

@ghost
Copy link
Author

ghost commented Sep 17, 2016

Sadly, I did not.

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

4 participants