Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to plot chart in GraphView with no background?

How to make graphview background completely blank, not even show x axis and y axis. couldn't find anything on web

enter image description here

like image 278
abh22ishek Avatar asked Mar 31 '16 10:03

abh22ishek


1 Answers

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
like image 148
abh22ishek Avatar answered Oct 21 '22 19:10

abh22ishek