public interface IlvDataAnnotation
IlvChartRenderer.setAnnotation(IlvDataSet, IlvDataAnnotation)
method.
IlvChartRenderer.setAnnotation(IlvDataSet, int, IlvDataAnnotation)
method.
Note: Annotations don't notify their changes automatically. If you are
making changes to an annotation that is being used by a renderer, you have
to invoke
renderer.
in order to ensure that the chart gets updated.triggerChange
(ChartRendererEvent.ANNOTATION_CHANGED)
Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics g,
IlvDisplayPoint p)
Draws the annotation according to the specified display point.
|
Rectangle2D |
getBounds(IlvDisplayPoint dp,
Rectangle2D bounds)
Returns the bounding rectangle of this annotation,
when displayed according to the specified display point.
|
void draw(Graphics g, IlvDisplayPoint p)
Rectangle2D getBounds(IlvDisplayPoint dp, Rectangle2D bounds)
dp
- The considered display point.bounds
- A rectangle optionally used to store the result. If
null
, a new Rectangle2D
is allocated.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.