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

Set grid color #337

Closed
davix10 opened this issue May 4, 2015 · 5 comments
Closed

Set grid color #337

davix10 opened this issue May 4, 2015 · 5 comments

Comments

@davix10
Copy link

davix10 commented May 4, 2015

Hi, I updated the library but no longer works command to color the grid. It remains the default color.
I had the version 4.0.0 and I switched to version 4.0.1.
Thanks in advance.

@pmarquez
Copy link

pmarquez commented May 4, 2015

Same issue with me, just that I am not upgrading, 4.0.1 is the first version I have ever used.

@jjoe64 jjoe64 modified the milestone: 4.0.2 May 4, 2015
@yuxingxin
Copy link

The same issue happend to me ,and I find call reloadStyles() can solve this issue;

@davix10
Copy link
Author

davix10 commented May 5, 2015

Thanks a lot!

@powerlinuxer
Copy link

yuxingxin's workaround worked pretty well. Appreciated!

In jjoe64.graphview.series.GridLabelRenderer.java,

/**
* @param gridColor the color of the grid lines
*/
public void setGridColor(int gridColor) {

    mStyles.gridColor = gridColor;
    reloadStyles();
}

@dkovalkov
Copy link

I can't set labels text size. reloadStyles() is a workaround.

@jjoe64 jjoe64 modified the milestones: 4.1, 4.0.2 Jun 5, 2016
@jjoe64 jjoe64 closed this as completed in 9275c12 Jun 16, 2016
jjoe64 pushed a commit that referenced this issue Jun 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants