1

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:

enter image description here

And this is how I would like it to be: enter image description here

Thanks in advance!

DevB2F
  • 4,674
  • 4
  • 36
  • 60
gmoraleda
  • 1,731
  • 1
  • 17
  • 44

1 Answers1

1

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.

gmoraleda
  • 1,731
  • 1
  • 17
  • 44