Package | Description |
---|---|
org.pepstock.charba.client.impl.plugins |
Contains some plugins implementations, available out-of-the box.
|
Modifier and Type | Method and Description |
---|---|
static HtmlLegendOptionsBuilder |
HtmlLegendOptionsBuilder.create()
Returns new builder instance, using the global options as default.
|
static HtmlLegendOptionsBuilder |
HtmlLegendOptionsBuilder.create(IsChart chart)
Returns new builder instance using chart global options as default.
|
HtmlLegendOptionsBuilder |
HtmlLegendOptionsBuilder.setDisplay(boolean display)
Sets if the legend is shown.
|
HtmlLegendOptionsBuilder |
HtmlLegendOptionsBuilder.setLegendItemCallback(HtmlLegendItemCallback legendTextCallback)
Sets the callback which can be implemented to change the text of legend for a specific item, as HTML.
|
HtmlLegendOptionsBuilder |
HtmlLegendOptionsBuilder.setLegendTitleCallback(HtmlLegendTitleCallback legendTitleCallback)
Sets the callback which can be implemented to change the text of legend's title, as HTML.
|
HtmlLegendOptionsBuilder |
HtmlLegendOptionsBuilder.setMaximumLegendColumns(int maxColumns)
Sets the maximum amount of columns of legend.
|