T
- type of result of callback. Could a String
or ImageElement
public interface RenderCallback<T>
ImageElement
Modifier and Type | Method and Description |
---|---|
T |
render(AbstractChart<?,?> chart,
RenderItem item)
Called to provide the item to be rendered as string or as image at runtime, using the arguments.
|
T render(AbstractChart<?,?> chart, RenderItem item)
chart
- chart instanceitem
- render item, passed by plugin