public abstract class AbstractTooltipLabelCallback extends Object implements TooltipLabelCallback
| Constructor and Description |
|---|
AbstractTooltipLabelCallback() |
| Modifier and Type | Method and Description |
|---|---|
String |
onAfterLabel(IsChart chart,
TooltipItem item)
Returns text to render after an individual label.
|
String |
onBeforeLabel(IsChart chart,
TooltipItem item)
Returns text to render before an individual label.
|
String |
onLabel(IsChart chart,
TooltipItem item)
Returns text to render for an individual item in the tooltip.
|
TooltipLabelColor |
onLabelColor(IsChart chart,
TooltipItem item)
Returns the colors to render for the tooltip item.
|
IsColor |
onLabelTextColor(IsChart chart,
TooltipItem item)
Returns the colors for the text of the label for the tooltip item.
|
public String onBeforeLabel(IsChart chart, TooltipItem item)
TooltipLabelCallbackonBeforeLabel in interface TooltipLabelCallbackchart - chart instanceitem - tooltip itemnull, it will be ignored.public String onLabel(IsChart chart, TooltipItem item)
TooltipLabelCallbackonLabel in interface TooltipLabelCallbackchart - chart instanceitem - tooltip itemnull, it will be ignored.public TooltipLabelColor onLabelColor(IsChart chart, TooltipItem item)
TooltipLabelCallbackonLabelColor in interface TooltipLabelCallbackchart - chart instanceitem - tooltip itemnull, it will be ignored.public IsColor onLabelTextColor(IsChart chart, TooltipItem item)
TooltipLabelCallbackonLabelTextColor in interface TooltipLabelCallbackchart - chart instanceitem - tooltip itemnull, it will be ignored.public String onAfterLabel(IsChart chart, TooltipItem item)
TooltipLabelCallbackonAfterLabel in interface TooltipLabelCallbackchart - chart instanceitem - tooltip itemnull, it will be ignored.