1
Androidplot tutorial中描述的方法 不适用于API版本1.1.0。没有方法setPointLabeler() in class LineAndPointRenderer。在XYPlot上格式化点标签
Androidplot tutorial中描述的方法 不适用于API版本1.1.0。没有方法setPointLabeler() in class LineAndPointRenderer。在XYPlot上格式化点标签
该文档是一个很老的版本Androidplot的 - 该方法已进入LineAndPointFormatter:
LineAndPointFormatter formatter = new LineAndPointFormatter();
formatter.setPointLabeler(new PointLabeler() {
@Override
public String getLabel(XYSeries series, int index) {
// your code here
}
});