Format Point Label On Xyplot
Method described in Androidplot tutorial doesn't work with API version 1.1.0. There is no method setPointLabeler() in class LineAndPointRenderer.
Solution 1:
That documentation is for a very old version of Androidplot - that method has moved into LineAndPointFormatter:
LineAndPointFormatter formatter = new LineAndPointFormatter();
formatter.setPointLabeler(new PointLabeler() {
@Override
public String getLabel(XYSeries series, int index) {
// your code here
}
});
Post a Comment for "Format Point Label On Xyplot"