Package | Description |
---|---|
org.pepstock.charba.client |
Main package with all charts implementation, global classes and common interfaces.
|
org.pepstock.charba.client.commons |
Core classes to manage the inter-operations with java script code.
|
org.pepstock.charba.client.defaults.chart |
Contains the default values of chart options based on type of chart instance.
|
Modifier and Type | Method and Description |
---|---|
ChartOptions |
Defaults.getOptions(Type type)
Returns the default options by a chart type, by defaults of CHART.JS.
If the type is not consistent, throws an exception. |
Modifier and Type | Method and Description |
---|---|
void |
Merger.load(Type type,
ChartEnvelop<ChartOptions> options,
ChartEnvelop<NativeObject> envelop)
Merges chart default options (by chart.defaults[type]), default scale options (by chart.defaults.scale) and global options (by chart.defaults.global).
The chain of priority is: chart default options (by chart.defaults[type]) default scale options (by chart.defaults.scale) global options (by chart.defaults.global) |
Constructor and Description |
---|
DefaultChartOptions(ChartOptions chartOptions)
Creates the default by a chart options instance, which represents the global options of a chart.
|