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.defaults |
Contains all interfaces need to provide defaults values of the chart options.
|
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 |
---|---|
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 |
---|---|
default 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 |
Font.create(IsDefaultFont defaultValues) |