Package | Description |
---|---|
org.pepstock.charba.client.annotation |
Contains all classes to activate the
AnnotationPlugin#ID plugin (AKA chartjs-plugin-annotation.js ) for 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.datalabels |
Contains all classes to activate the
DataLabelsPlugin.ID plugin (AKA chartjs-plugin-datalabels.js ) for CHART.js. |
org.pepstock.charba.client.defaults |
Contains all interfaces need to provide defaults values of the chart options.
|
org.pepstock.charba.client.defaults.chart |
Contains the default values of chart options based on type of chart instance.
|
org.pepstock.charba.client.defaults.globals |
Contains the default values of chart options for all chart types (CHART.JS options defaults).
|
org.pepstock.charba.client.dom.elements |
Contains a set of DOM elements that Charba is using.
|
org.pepstock.charba.client.enums |
Contains all enumerations of some chart options where only a specific set of values can be set.
|
org.pepstock.charba.client.options |
Contains all elements to configure charts at global level (know as chart global options).
|
Modifier and Type | Field and Description |
---|---|
static TextAlign |
LineLabel.DEFAULT_TEXT_ALIGN
Default text align for labels,
CENTER . |
Modifier and Type | Method and Description |
---|---|
TextAlign |
LineLabel.getTextAlign()
Returns the horizontal alignment of the label text when multiple lines.
|
Modifier and Type | Method and Description |
---|---|
void |
LineLabel.setTextAlign(TextAlign align)
Sets the horizontal alignment of the label text when multiple lines.
|
Modifier and Type | Method and Description |
---|---|
TextAlign |
Tooltips.getBodyAlign()
Returns the body alignment.
|
TextAlign |
Tooltips.getFooterAlign()
Returns the footer alignment.
|
TextAlign |
LegendLabels.getTextAlign()
Returns the the horizontal alignment of the label text.
|
TextAlign |
Tooltips.getTitleAlign()
Returns the title alignment.
|
Modifier and Type | Method and Description |
---|---|
void |
Tooltips.setBodyAlign(TextAlign align)
Sets the body alignment.
|
void |
Tooltips.setFooterAlign(TextAlign align)
Sets the footer alignment.
|
void |
LegendLabels.setTextAlign(TextAlign align)
Sets the horizontal alignment of the label text.
|
void |
Tooltips.setTitleAlign(TextAlign align)
Sets the title alignment.
|
Modifier and Type | Field and Description |
---|---|
static TextAlign |
DataLabelsOptions.DEFAULT_TEXT_ALIGN
Default text alignment being used when drawing the label text,
START . |
Modifier and Type | Method and Description |
---|---|
TextAlign |
LabelItem.getTextAlign()
Returns the text alignment being used when drawing the label text when multiple lines.
|
Modifier and Type | Method and Description |
---|---|
void |
LabelItem.setTextAlign(TextAlign textAlign)
Sets the text alignment being used when drawing the label text when multiple lines.
|
AbstractBuilder<T> |
AbstractBuilder.setTextAlign(TextAlign textAlign)
Sets the text alignment being used when drawing the label text.
|
Modifier and Type | Method and Description |
---|---|
TextAlign |
IsDefaultTooltips.getBodyAlign()
Returns the body alignment.
|
TextAlign |
IsDefaultTooltips.getFooterAlign()
Returns the footer alignment.
|
TextAlign |
IsDefaultLegendLabels.getTextAlign()
Returns the the horizontal alignment of the label text.
|
TextAlign |
IsDefaultTooltips.getTitleAlign()
Returns the title alignment.
|
Modifier and Type | Method and Description |
---|---|
TextAlign |
DefaultChartTooltips.getBodyAlign() |
TextAlign |
DefaultChartTooltips.getFooterAlign() |
TextAlign |
DefaultChartLegendLabels.getTextAlign() |
TextAlign |
DefaultChartTooltips.getTitleAlign() |
Modifier and Type | Method and Description |
---|---|
TextAlign |
DefaultTooltips.getBodyAlign() |
TextAlign |
DefaultTooltips.getFooterAlign() |
TextAlign |
DefaultLegendLabels.getTextAlign() |
TextAlign |
DefaultTooltips.getTitleAlign() |
Modifier and Type | Method and Description |
---|---|
TextAlign |
Context2dItem.getTextAlign()
Returns the current text alignment used when drawing text.
|
Modifier and Type | Method and Description |
---|---|
void |
Context2dItem.setTextAlign(TextAlign textAlign)
Sets the current text alignment used when drawing text.
|
Modifier and Type | Method and Description |
---|---|
static TextAlign |
TextAlign.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextAlign[] |
TextAlign.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
TextAlign |
Tooltips.getBodyAlign()
Returns the body alignment.
|
TextAlign |
Tooltips.getFooterAlign()
Returns the body alignment.
|
TextAlign |
LegendLabels.getTextAlign()
Returns the the horizontal alignment of the label text.
|
TextAlign |
Tooltips.getTitleAlign()
Returns the title alignment.
|
Modifier and Type | Method and Description |
---|---|
void |
Tooltips.setBodyAlign(TextAlign align)
Sets the body alignment.
|
void |
Tooltips.setFooterAlign(TextAlign align)
Sets the footer alignment.
|
void |
LegendLabels.setTextAlign(TextAlign align)
Sets the horizontal alignment of the label text.
|
void |
Tooltips.setTitleAlign(TextAlign align)
Sets the title alignment.
|