有什么方法可以在线图中添加目标线吗?
我想画绿线显示在条状焦图像。
提前谢谢。

发布于 2014-08-08 07:18:27
我找到了答案。
我们可以用组合图来得到目标线。
// Specifying chart types to be drawn in the graph
// Number of data series and number of types should be same
// Order of data series and chart type will be same
String[] types = new String[] { LineChart.TYPE, BarChart.TYPE };
ChartFactory.getCombinedXYChartView(getBaseContext(), dataset, multiRenderer, types);这将创建与线图表和条形图的图表。
教程:http://wptrafficanalyzer.in/blog/android-combined-chart-using-achartengine-library/
https://stackoverflow.com/questions/25185532
复制相似问题