Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public interface TooltipRenderer
Customizes the text of the tooltip.
Methods
public abstract String formatHeader(ChartPoint first) | The bold first line, typically the x value; null for none. |
public abstract String formatRow(ChartPoint point) | The row for one point; null leaves the point out of the tooltip. |
Method details
formatHeader
public abstract String formatHeader(ChartPoint first)The bold first line, typically the x value; null for none.
formatRow
public abstract String formatRow(ChartPoint point)The row for one point; null leaves the point out of the tooltip. When every row is null
and there is no header, no tooltip is drawn.