如何在没有背景的情况下在 GraphView 中绘制图表?

How to plot chart in GraphView with no background?

如何让graphview背景完全空白,甚至不显示x轴和y轴。 在网上找不到任何内容

I got my solution by adding these lines

mygraphview.getGridLabelRenderer().setGridStyle(GridLabelRenderer.GridStyle.NONE);// It will remove the background grids

 mygraphview.getGridLabelRenderer().setHorizontalLabelsVisible(false);// remove horizontal x labels and line
  mygraphview.getGridLabelRenderer().setVerticalLabelsVisible(false);
// remove vertical labels and lines