public interface TooltipLabelCallback
TooltipsCallbacks
Modifier and Type | Method and Description |
---|---|
java.lang.String |
onAfterLabel(AbstractChart<?,?> chart,
TooltipItem item)
Returns text to render after an individual label.
|
java.lang.String |
onBeforeLabel(AbstractChart<?,?> chart,
TooltipItem item)
Returns text to render before an individual label.
|
java.lang.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.
|
java.lang.String onBeforeLabel(AbstractChart<?,?> chart, TooltipItem item)
chart
- chart instanceitem
- tooltip itemnull
, it will be ignored.AbstractChart
,
TooltipItem
java.lang.String onLabel(AbstractChart<?,?> chart, TooltipItem item)
chart
- chart instanceitem
- tooltip itemnull
, it will be ignored.AbstractChart
,
TooltipItem
TooltipLabelColor onLabelColor(AbstractChart<?,?> chart, TooltipItem item)
chart
- chart instanceitem
- tooltip itemnull
, it will be ignored.AbstractChart
,
TooltipItem
,
TooltipLabelColor
IsColor onLabelTextColor(AbstractChart<?,?> chart, TooltipItem item)
chart
- chart instanceitem
- tooltip itemnull
, it will be ignored.AbstractChart
,
TooltipItem
java.lang.String onAfterLabel(AbstractChart<?,?> chart, TooltipItem item)
chart
- chart instanceitem
- tooltip itemnull
, it will be ignored.AbstractChart
,
TooltipItem