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

Show grid with axis deactivated #3436

Closed
gmoraleda opened this issue Apr 30, 2018 · 1 comment
Closed

Show grid with axis deactivated #3436

gmoraleda opened this issue Apr 30, 2018 · 1 comment

Comments

@gmoraleda
Copy link

gmoraleda commented Apr 30, 2018

I'm working with this great library but I'm facing an issue I cannot solve.
I deactivated my Y and X axis so that the graph goes till the screen margins:

    mainChartView.rightAxis.enabled = false
    mainChartView.leftAxis.enabled = false
    mainChartView.leftAxis.axisMaximum = 1.2
    mainChartView.leftAxis.axisMinimum = 0
    mainChartView.xAxis.enabled = false

Nevertheless I want to draw a background grid. Is that possible?

This is my current graph:
screen shot 2018-04-30 at 15 30 29

And this is how I would like it to be:
screen shot 2018-04-30 at 15 36 09

Thanks in advance!

@liuxuan30
Copy link
Member

grid background is not supported yet. We are planning but it should be a long time.
Either you change the source code and maybe a PR for us, or just wait.

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