public interface TooltipLabelCallback
Modifier and Type | Method and Description |
---|---|
String |
onAfterLabel(AbstractChart<?,?> chart,
TooltipItem item)
Returns text to render after an individual label.
|
String |
onBeforeLabel(AbstractChart<?,?> chart,
TooltipItem item)
Returns text to render before an individual label.
|
String |
onLabel(AbstractChart<?,?> chart,
TooltipItem item)
Returns text to render for an individual item in the tooltip.
|
TooltipLabelColor |
onLabelColor(AbstractChart<?,?> chart,
TooltipItem item)
Returns the colors to render for the tooltip item.
|
IsColor |
onLabelTextColor(AbstractChart<?,?> chart,
TooltipItem item)
Returns the colors for the text of the label for the tooltip item.
|
String onBeforeLabel(AbstractChart<?,?> chart, TooltipItem item)
chart
- chart instanceitem
- tooltip itemnull
, it will be ignored.String onLabel(AbstractChart<?,?> chart, TooltipItem item)
chart
- chart instanceitem
- tooltip itemnull
, it will be ignored.TooltipLabelColor onLabelColor(AbstractChart<?,?> chart, TooltipItem item)
chart
- chart instanceitem
- tooltip itemnull
, it will be ignored.IsColor onLabelTextColor(AbstractChart<?,?> chart, TooltipItem item)
chart
- chart instanceitem
- tooltip itemnull
, it will be ignored.String onAfterLabel(AbstractChart<?,?> chart, TooltipItem item)
chart
- chart instanceitem
- tooltip itemnull
, it will be ignored.