Package | Description |
---|---|
org.pepstock.charba.client.callbacks |
All callbacks interfaces to be implemented, also to use the scriptable options of CHART.JS.
|
org.pepstock.charba.client.configuration |
Contains all elements to configure a chart instance (know as chart options at instance level).
|
org.pepstock.charba.client.dom.safehtml |
Contains the classes to use in order to create HTML encoded strings.
|
org.pepstock.charba.client.items |
Contains all elements generated by CHART.JS, which are mapping java script objects, to use at runtime in plugins, events or controllers.
|
Modifier and Type | Method and Description |
---|---|
SafeHtml |
HtmlLegendCallback.generateText(IsChart chart,
T item,
String currentText)
Returns a text of legend for a specific item or legend's title, as HTML
|
Modifier and Type | Method and Description |
---|---|
SafeHtml |
LegendTitle.getTextAsHtml()
Returns the text that will be displayed, as HTML.
If is not HTML, returns Undefined.STRING . |
Modifier and Type | Method and Description |
---|---|
void |
LegendTitle.setText(SafeHtml text)
Sets the text that will be displayed, as HTML.
This field is used ONLY by HtmlLegend plugin and not by CHART.js. |
Modifier and Type | Field and Description |
---|---|
static SafeHtml |
SafeHtmlBuilder.EMPTY_SAFE_HTML
Default empty
SafeHtml . |
Modifier and Type | Method and Description |
---|---|
SafeHtml |
SafeHtmlBuilder.toSafeHtml()
Returns the safe html instance.
|
Modifier and Type | Method and Description |
---|---|
SafeHtmlBuilder |
SafeHtmlBuilder.append(SafeHtml value)
Appends the contents of another safe html object.
|
Modifier and Type | Method and Description |
---|---|
default SafeHtml |
HasLegendText.getTextAsHtml()
Returns the label that will be displayed, as HTML.
If is not HTML, returns Undefined.STRING . |
Modifier and Type | Method and Description |
---|---|
default void |
HasLegendText.setText(SafeHtml text)
Sets the label that will be displayed, as HTML.
This field is used ONLY by HtmlLegend plugin and not by CHART.js. |