1

Add space between graph and tick labels in GraphView? answers how to add a space between the graph and axis labels

Android graph view has an answer which says it is possible to change the font size of axis labels.

However it seems those functionalities have been removed. are there any plans to reinstate them? Alternatively, are there currently ways to change the font size and spacing?

Thanks!

Community
  • 1
  • 1
Tan Jing Yuan
  • 73
  • 2
  • 7

1 Answers1

4

I change the label's text size in this way:

graph.getGridLabelRenderer().setTextSize(6f);
graph.getGridLabelRenderer().reloadStyles();
Alex
  • 8,093
  • 6
  • 49
  • 79
  • `graph.getGridLabelRenderer().reloadStyles();` also fixed my GridColor not updating issue after calling `graph.getGridLabelRenderer().setGridColor();` Big Thanks! – Buddy Sep 08 '15 at 07:52