如何在没有多余线条的情况下打印图形

How to print graph without excess lines

我在 android 项目中使用 graphview 库。我做了一个图表,但我想删除这条线 i marked them with black

来自 documentation,像这样的东西应该可以工作:

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