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

How to hide the grid background on some bar #3342

Closed
HsiaoAi opened this issue Mar 14, 2018 · 1 comment
Closed

How to hide the grid background on some bar #3342

HsiaoAi opened this issue Mar 14, 2018 · 1 comment

Comments

@HsiaoAi
Copy link

HsiaoAi commented Mar 14, 2018

The X axis data is date array, include 30 days(count = 30)
so I set the label count is 30 and then use customs valuer formatter to show only five labels,
and default the chart has 30 bars with grid background, I'd like to ask how to hide other grid background when the label is not showing(return string is "") as image,
I tried to subclass axisRenderer, but when I init always get memory error.
How can i subclass right and override the drawGridLine(), thank you !
screen shot 2018-03-15 at 1 31 16 am

@jjatie
Copy link
Collaborator

jjatie commented Apr 15, 2018

Please note that for how-to's, ask on Stack Overflow. If you would like to file an issue or feature request, please fill out the form provided.

@jjatie jjatie closed this as completed Apr 15, 2018
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