Package | Description |
---|---|
be.ceau.chart.options |
Modifier and Type | Method and Description |
---|---|
Legend |
Options.getLegend() |
Legend |
Legend.setDisplay(Boolean display)
Default
true
Is the legend displayed |
Legend |
Legend.setFullWidth(Boolean fullWidth)
Default
true
Marks that this box should take the full width of the canvas (pushing down other boxes) |
Legend |
Legend.setLabels(LegendLabels labels)
Default
-
See the Legend Label Configuration section below. |
Legend |
Legend.setOnClick(JavaScriptFunction onClick)
Default
function(event, legendItem) {}
A callback that is called when a click is registered on top of a label item |
Legend |
Legend.setPosition(Legend.Position position)
Default
'top'
Position of the legend. |
Modifier and Type | Method and Description |
---|---|
T |
Options.setLegend(Legend legend)
The legend configuration is passed into the options.legend namespace.
|
Copyright © 2017. All rights reserved.