abh22ishek
abh22ishek

Reputation: 2671

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

Upvotes: 10

Views: 2061

Answers (1)

abh22ishek
abh22ishek

Reputation: 2671

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

Upvotes: 12

Related Questions