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

I can't change the default grey background on the line chart #706

Closed
YHSX88 opened this issue Jan 24, 2016 · 2 comments
Closed

I can't change the default grey background on the line chart #706

YHSX88 opened this issue Jan 24, 2016 · 2 comments

Comments

@YHSX88
Copy link

YHSX88 commented Jan 24, 2016

Guys can somebody point me how to change the colour mentioned in the title.

And something else to mention here is that i think the method "setHighLightColor(UIColor)" is not present in the API or at least I couldn't find it.

"Line-, Bar-, Scatter-, Bubble- & CandleDataSet (below mentioned methods can be used for any of the mentioned DataSet classes)

setHighLightColor(int color): Sets the color that is used for drawing the highlight indicators. Don't forget to resolve the color using getResources().getColor(...) or Color.rgb(...) (or simply Color.BLACK)."
screen shot 2016-01-25 at 00 34 10

@liuxuan30
Copy link
Member

  1. use gridBackgroundColor or UIView.backgroundColor
  2. use dataSet.highlightColor. Have no idea why you are saying setHighLightColor if it does not exist

@YHSX88
Copy link
Author

YHSX88 commented Jan 25, 2016

all cool, thank you very much

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