Uses of Class
software.xdev.chartjs.model.options.Legend
Packages that use Legend
-
Uses of Legend in software.xdev.chartjs.model.options
Fields in software.xdev.chartjs.model.options declared as LegendMethods in software.xdev.chartjs.model.options that return LegendModifier and TypeMethodDescriptionPlugins.getLegend()
Default 'center'.Legend.setDisplay
(Boolean display) Defaulttrue
Legend.setFullSize
(Boolean fullSize) Defaulttrue
Legend.setLabels
(LegendLabels labels) Default-
Legend.setMaxHeight
(Integer maxHeight) Maximum height of the legend, in pixelsLegend.setMaxWidth
(Integer maxWidth) Maximum width of the legend, in pixelsLegend.setOnClick
(JavaScriptFunction onClick) A callback that is called when a click is registered on top of a label itemLegend.setOnHover
(JavaScriptFunction onHover) A callback that is called when a 'mousemove' event is registered on top of a label itemLegend.setOnLeave
(JavaScriptFunction onLeave) A callback that is called when a 'mousemove' event is registered outside of a previously hovered label itemLegend.setPosition
(Legend.Position position) Default'top'
Legend.setReverse
(Boolean reverse) Defaultfalse
true
for rendering the legends from right to leftLegend.setTextDirection
(String textDirection) This will force the text direction 'rtl' or 'ltr' on the canvas for rendering the legend, regardless of the css specified on the canvasLegend.setTitle
(LegendTitle title) Methods in software.xdev.chartjs.model.options with parameters of type Legend