我必须创建带有背景的线性图......我得到了正确的线性图但没有得到背景。下面是我的代码..
我想要像附加图片一样的图表..
exampleSeries = new GraphViewSeries(new GraphViewData[] {
new GraphViewData(1, 2.0d), new GraphViewData(2, 1.5d),
new GraphViewData(3, 2.5d), new GraphViewData(4, 1.0d) });
graphView = new LineGraphView(this // context
, "CoolingGraph" // heading
);
graphView.addSeries(exampleSeries); // data
graphView.setHorizontalLabels(new String[] { "2 days ago",
"yesterday", "today", "tomorrow" });
graphView
.setVerticalLabels(new String[] { "high", "middle", "low" });