Class Plugins
java.lang.Object
software.xdev.chartjs.model.options.Plugins
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTitle()
The legend configuration is passed into the options.legend namespace.The title configuration is passed into the options.title namespace.setTooltip
(Tooltip tooltip) The tooltip label configuration is nested below the tooltip configuration using the callbacks key.
-
Field Details
-
title
-
legend
-
tooltip
-
-
Constructor Details
-
Plugins
public Plugins()
-
-
Method Details
-
getTitle
- See Also:
-
setTitle
The title configuration is passed into the options.title namespace. The global options for the chart title is defined in Chart.defaults.global.title. -
getLegend
- See Also:
-
setLegend
The legend configuration is passed into the options.legend namespace. The global options for the chart legend is defined in Chart.defaults.global.legend. -
getTooltip
- See Also:
-
setTooltip
The tooltip label configuration is nested below the tooltip configuration using the callbacks key. The tooltip has the following callbacks for providing text. For all functions, 'this' will be the tooltip object created from the Chart.Tooltip constructor.All functions are called with the same arguments: a tooltip item and the data object passed to the chart. All functions must return either a string or an array of strings. Arrays of strings are treated as multiple lines of text.
-