public class TooltipsCallbacks extends Object
| Modifier and Type | Field and Description |
|---|---|
TooltipLabelColor |
defaultLabelColor |
| Modifier and Type | Method and Description |
|---|---|
TooltipBodyCallback |
getBodyCallback()
Returns the user body callback.
|
IsChart |
getChart()
Returns the chart instance
|
protected T |
getConfiguration()
Returns the configuration element.
|
TooltipFooterCallback |
getFooterCallback()
Returns the user footer callback.
|
TooltipLabelCallback |
getLabelCallback()
Returns the user label callback.
|
TooltipTitleCallback |
getTitleCallback()
Returns the user title callback.
|
void |
merge(NativeObjectContainer source,
String property)
Merge a native object into this one with a specific property name.
This is used by plugins implementation (native java script ones) when they are not using the standard way to add plugin configuration into options of chart. |
void |
setBodyCallback(TooltipBodyCallback bodyCallback)
Sets the user body callback.
|
protected void |
setConfiguration(T configuration) |
void |
setFooterCallback(TooltipFooterCallback footerCallback)
Sets the user footer callback.
|
void |
setLabelCallback(TooltipLabelCallback labelCallback)
Sets the user label callback.
|
void |
setTitleCallback(TooltipTitleCallback titleCallback)
Sets the user title callback.
|
String |
toJSON()
Returns the JSON representation of the object.
|
public final TooltipLabelColor defaultLabelColor
public TooltipTitleCallback getTitleCallback()
public void setTitleCallback(TooltipTitleCallback titleCallback)
titleCallback - the titleCallback to setpublic TooltipBodyCallback getBodyCallback()
public void setBodyCallback(TooltipBodyCallback bodyCallback)
bodyCallback - the bodyCallback to setpublic TooltipLabelCallback getLabelCallback()
public void setLabelCallback(TooltipLabelCallback labelCallback)
labelCallback - the labelCallback to setpublic TooltipFooterCallback getFooterCallback()
public void setFooterCallback(TooltipFooterCallback footerCallback)
footerCallback - the footerCallback to setprotected final void setConfiguration(T configuration)
configuration - the configuration to setprotected final T getConfiguration()
public final void merge(NativeObjectContainer source, String property)
source - native object container to addproperty - property namepublic final String toJSON()
public final IsChart getChart()