Search code examples
androidandroid-graphview

GraphView Axis Labels


I'm using GraphView to draw graphs in my android app, but I'm not able to set axis labels on the X and Y axis which denote what they represent. I checked the documentation, but couldn't find anything useful. How can I do it?


Solution

  • you're right. there is no build in method to do it. You have to place your label views yourself at the left resp. bottom of the graphview. This can be done for example with RelativeLayout.