我创建了一个线图,它看起来像这样:
但我想像这样填充图形下方的区域:
如何实现此功能?你能帮帮我吗?
最佳答案
使用setDrawBackground
方法启用它。
LineGraphView graphView = new LineGraphView(this,"My Line Graph");
graphView.setDrawBackground(true);
关于Android GraphView - 如何用颜色填充折线图下的区域?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25306793/