Class Callbacks
java.lang.Object
software.xdev.chartjs.model.options.Callbacks
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JavaScriptFunction
protected JavaScriptFunction
protected JavaScriptFunction
protected JavaScriptFunction
protected JavaScriptFunction
protected JavaScriptFunction
protected JavaScriptFunction
protected JavaScriptFunction
protected JavaScriptFunction
protected JavaScriptFunction
protected JavaScriptFunction
protected JavaScriptFunction
protected JavaScriptFunction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()
getTitle()
setAfterBody
(JavaScriptFunction afterBody) Returns text to render after the body section.setAfterFooter
(JavaScriptFunction afterFooter) Text to render after the footer section.setAfterLabel
(JavaScriptFunction afterLabel) Returns text to render after an individual label.setAfterTitle
(JavaScriptFunction afterTitle) Returns text to render after the title.setBeforeBody
(JavaScriptFunction beforeBody) Returns text to render before the body section.setBeforeFooter
(JavaScriptFunction beforeFooter) Returns text to render before the footer section.setBeforeLabel
(JavaScriptFunction beforeLabel) Returns text to render before an individual label.setBeforeTitle
(JavaScriptFunction beforeTitle) Returns the text to render before the title.setFooter
(JavaScriptFunction footer) Returns text to render as the footer of the tooltip.setLabel
(JavaScriptFunction label) Returns text to render for an individual item in the tooltip.setLabelColor
(JavaScriptFunction labelColor) Returns the colors to render for the tooltip item.setLabelTextColor
(JavaScriptFunction labelTextColor) Returns the colors for the text of the label for the tooltip item.setTitle
(JavaScriptFunction title) Returns text to render as the title of the tooltip.
-
Field Details
-
beforeTitle
-
title
-
afterTitle
-
beforeBody
-
beforeLabel
-
label
-
labelColor
-
labelTextColor
-
afterLabel
-
afterBody
-
-
Constructor Details
-
Callbacks
public Callbacks()
-
-
Method Details
-
getBeforeTitle
- See Also:
-
setBeforeTitle
Returns the text to render before the title.
-
getTitle
- See Also:
-
setTitle
Returns text to render as the title of the tooltip.
-
getAfterTitle
- See Also:
-
setAfterTitle
Returns text to render after the title.
-
getBeforeBody
- See Also:
-
setBeforeBody
Returns text to render before the body section.
-
getBeforeLabel
- See Also:
-
setBeforeLabel
Returns text to render before an individual label. This will be called for each item in the tooltip.
-
getLabel
- See Also:
-
setLabel
Returns text to render for an individual item in the tooltip.
-
getLabelColor
- See Also:
-
setLabelColor
Returns the colors to render for the tooltip item.
-
getLabelTextColor
- See Also:
-
setLabelTextColor
Returns the colors for the text of the label for the tooltip item.
-
getAfterLabel
- See Also:
-
setAfterLabel
Returns text to render after an individual label.
-
getAfterBody
- See Also:
-
setAfterBody
Returns text to render after the body section.
-