Reputation: 1953
I'm working with the charts 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:
And this is how I would like it to be:
Thanks in advance!
Upvotes: 1
Views: 182
Reputation: 1953
Got feedback from the library developers:
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.
Upvotes: 1