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
}
});