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

LineChartDataSet Multi color #2906

Closed
amrabdelaal opened this issue Oct 24, 2017 · 3 comments
Closed

LineChartDataSet Multi color #2906

amrabdelaal opened this issue Oct 24, 2017 · 3 comments

Comments

@amrabdelaal
Copy link

I want to make LineChartDataSet support Multi color

@liuxuan30
Copy link
Member

it does support multi colors:

@objc open func drawLinear(context: CGContext, dataSet: ILineChartDataSet)
{
        ...
        // more than 1 color
        if dataSet.colors.count > 1 {

check if it meet your goals.

@amrabdelaal
Copy link
Author

@liuxuan30 Please I need more clarifications

@liuxuan30
Copy link
Member

what clarifications? You can locate to the code and see how to draw multiple colors

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

2 participants