| 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.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.items | 
 Contains all elements generated by CHART.JS, which are mapping java script objects, to use at runtime in plugins, events or controllers. 
 | 
| 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.getOptionValueAsPadding(C context,
                       Scriptable<PaddingItem,C> callback,
                       IsDefaultPadding defaultValue)
Returns the padding item value as value of the property by invoking a callback which is typed to a paddng item. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
Padding
Maps the additional space to apply to the sides of elements (left, top, right, bottom), in pixels. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
IsDefaultPadding | 
IsDefaultTicks.getBackdropPadding()
Returns the padding of label backdrop. 
 | 
IsDefaultPadding | 
IsDefaultPointLabels.getBackdropPadding()
Returns the padding of label backdrop. 
 | 
IsDefaultPadding | 
IsDefaultLegendTitle.getPadding()
Returns the padding to apply around title. 
 | 
IsDefaultPadding | 
IsDefaultTooltips.getPadding()
Returns padding object defaults. 
 | 
IsDefaultPadding | 
IsDefaultLayout.getPadding()
Returns padding object defaults. 
 | 
IsDefaultPadding | 
IsDefaultScaleTitle.getPadding()
Returns the padding defaults. 
 | 
IsDefaultPadding | 
IsDefaultAbstractTitle.getPadding()
Returns the padding to apply around labels. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
default PaddingItem | 
IsDefaultPadding.create(IsDefaultPadding defaultValues)
Creates a padding options instance using default or cloning current instance. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
DefaultChartPadding
Defaults for padding option element, based on chart type. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
IsDefaultPadding | 
DefaultChartPointLabels.getBackdropPadding()  | 
IsDefaultPadding | 
DefaultChartTicks.getBackdropPadding()  | 
IsDefaultPadding | 
DefaultChartLayout.getPadding()  | 
IsDefaultPadding | 
DefaultChartTooltips.getPadding()  | 
IsDefaultPadding | 
DefaultChartScaleTitle.getPadding()  | 
IsDefaultPadding | 
DefaultChartLegendTitle.getPadding()  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
DefaultPadding
CHART.JS default values for PADDING element. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
IsDefaultPadding | 
DefaultTicks.getBackdropPadding()  | 
IsDefaultPadding | 
DefaultPointLabels.getBackdropPadding()  | 
IsDefaultPadding | 
DefaultLegendTitle.getPadding()  | 
IsDefaultPadding | 
DefaultTooltips.getPadding()  | 
IsDefaultPadding | 
DefaultSubtitle.getPadding()  | 
IsDefaultPadding | 
DefaultScaleTitle.getPadding()  | 
IsDefaultPadding | 
DefaultLayout.getPadding()  | 
IsDefaultPadding | 
DefaultTitle.getPadding()  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
PaddingItem
Padding options item to use mainly for callbacks. 
 | 
| Constructor and Description | 
|---|
PaddingItem(IsDefaultPadding defaultValues)
Creates an empty padding to use for chart configuration when the font is created by a callback. 
 | 
PaddingItem(IsDefaultPadding defaultValues,
           int padding)
Creates an empty padding to use for chart configuration when the font is created by a callback and setting the same size for all dimensions. 
 | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
IsPadding
Interface to map a font element. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractPadding
Base class to map the padding properties of an element. 
 | 
class  | 
AbstractScriptablePadding<T extends ChartContext>
Object can be provided with additional configuration by callbacks to define padding options at runtime, and with the possibility to reset  
PaddingCallback if the
 IsScriptablePaddingProvider instance has been set with a PaddingCallback. | 
| Modifier and Type | Method and Description | 
|---|---|
protected Padding | 
AbstractModel.loadPadding(Key property,
           IsDefaultPadding defaultPadding)
Loads the padding size or object from the abstract model, replacing the property, if is a number, with the object which is returned. 
 | 
| Constructor and Description | 
|---|
AbstractPadding(IsDefaultPadding defaultValues)
Creates an empty padding to use for chart configuration. 
 | 
AbstractPadding(IsDefaultPadding defaultValues,
               NativeObject nativeObject)
Creates a padding to use for chart configuration, wrapping a native object instance. 
 | 
AbstractScriptablePadding(IsScriptablePaddingProvider<T> scriptablePaddingProvider,
                         IsDefaultPadding defaultValues)
Creates an empty padding to use for chart configuration. 
 | 
AbstractScriptablePadding(IsScriptablePaddingProvider<T> scriptablePaddingProvider,
                         IsDefaultPadding defaultValues,
                         NativeObject nativeObject)
Creates a padding to use for chart configuration, wrapping a native object instance. 
 |