Package | Description |
---|---|
org.pepstock.charba.client |
Main package with all charts implementation, global classes and common interfaces.
|
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.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.options |
Contains all elements to configure charts at global level (know as chart global options).
|
Modifier and Type | Method and Description |
---|---|
IsImmutableFont |
Helpers.toFont(FontItem font)
Parses font options and returns a normalized font object.
|
String |
Helpers.toFontString(FontItem font)
Builds the font string (shorthand property of CSS font) to use in the canvas object.
See here CSS specification. |
Modifier and Type | Method and Description |
---|---|
static <C extends ChartContext> |
ScriptableUtils.getOptionValueAsFont(C context,
Scriptable<FontItem,C> callback,
IsDefaultFont defaultValue)
Returns the font item value as value of the property by invoking a callback which is typed to a font item.
|
Modifier and Type | Method and Description |
---|---|
static <C extends ChartContext> |
ScriptableUtils.getOptionValueAsFont(C context,
Scriptable<FontItem,C> callback,
IsDefaultFont defaultValue)
Returns the font item value as value of the property by invoking a callback which is typed to a font item.
|
Modifier and Type | Method and Description |
---|---|
FontItem |
Font.create()
Creates a font options instance using default or cloning current instance.
|
Modifier and Type | Method and Description |
---|---|
FontItem |
IsDefaultFont.create()
Creates a font options instance using default or cloning current instance.
|
default FontItem |
IsDefaultFont.create(IsDefaultFont defaultValues)
Creates a font options instance using default or cloning current instance.
|
Modifier and Type | Method and Description |
---|---|
FontItem |
DefaultChartFont.create() |
Modifier and Type | Method and Description |
---|---|
FontItem |
DefaultRoutedFont.create() |
Modifier and Type | Method and Description |
---|---|
FontItem |
Font.create() |
FontItem |
Font.create(IsDefaultFont defaultValues) |