9
Come rendere lo sfondo di graphview completamente vuoto, nemmeno mostrare l'asse xe l'asse y. non riusciva a trovare nulla sul webCome stampare un grafico in GraphView senza sfondo?
Come rendere lo sfondo di graphview completamente vuoto, nemmeno mostrare l'asse xe l'asse y. non riusciva a trovare nulla sul webCome stampare un grafico in GraphView senza sfondo?
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
Inoltre, potrebbe essere necessario impostare lo sfondo invisibile: mygraphview.setBackgroundColor (Color.TRANSPARENT); –