Search code examples
javaandroidgraphandroid-graphview

How to print graph without excess lines


I use graphview library on my android project. I made a graph, but i want to remove this lines i marked them with black


Solution

  • From the documentation, something like this should work:

        graphView.getGridLabelRenderer().setGridStyle(GridLabelRenderer.GridStyle.NONE)
        graph.getViewport().setDrawBorder(true);