public class IlvDataLabelAnnotation extends java.lang.Object implements IlvDataAnnotation
ilog.views.chart.IlvChartRenderer#computeDataLabel
method
to compute the displayed string if no explicit text has been set, and the
ilog.views.chart.IlvChartRenderer#computeDataLabelLocation
to
compute the label location.
Here is a picture showing a data label annotation set individually on a data point of a Pie chart:
ilvDataLabelAnnotation {
class : "ilog.views.chart.graphic.IlvDataLabelAnnotation(labelRenderer)";
labelRenderer : "@#ilvLabelRenderer";
text : "<value>";
}
Modifier and Type | Property and Description |
---|---|
java.lang.String |
class
Creates a new label information using the specified label renderer. |
IlvLabelRenderer |
labelRenderer
Sets the renderer that displays the label. |
java.lang.String |
text
Sets the text of this annotation. |
public java.lang.String class
class : "ilog.views.chart.graphic.IlvDataLabelAnnotation(labelRenderer)";
public IlvLabelRenderer labelRenderer
labelRenderer : "@#ilvLabelRenderer";
IlvLabelRenderer
for an example of implementing a labelRenderer.public java.lang.String text
text : "<value>";
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.