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

Support darkmode #132

Open
dan-ryan opened this issue Jun 15, 2023 · 3 comments
Open

Support darkmode #132

dan-ryan opened this issue Jun 15, 2023 · 3 comments

Comments

@dan-ryan
Copy link

Graph labels are unreadable in dark mode.

@Paget96
Copy link

Paget96 commented Jun 15, 2023

Graph labels are unreadable in dark mode.

Can you post screenshot?

@dan-ryan
Copy link
Author

Light mode vs dark mode.
Screenshot 2023-06-15 at 8 10 32 PM
Screenshot 2023-06-15 at 8 10 59 PM

@dan-ryan
Copy link
Author

dan-ryan commented Jun 20, 2023

Found a hack fix:

chart.legend.textColor = MaterialColors.getColor(context, com.google.android.material.R.attr.colorOnBackground, Color.BLACK)
chart.axisLeft.textColor = MaterialColors.getColor(context, com.google.android.material.R.attr.colorOnBackground, Color.BLACK)
chart.xAxis =...

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