Package | Description |
---|---|
org.pepstock.charba.client |
Main package with all charts implementation, global classes and common interfaces.
|
org.pepstock.charba.client.defaults.chart |
Contains the default values of chart options based on type of chart instance.
|
org.pepstock.charba.client.options |
Contains all elements to configure charts at global level (know as chart global options).
|
Modifier and Type | Class and Description |
---|---|
class |
GlobalScale
Default global scale (maps the java script object
Chart.defaults.scale and the result of
Chart.scaleService ). |
Modifier and Type | Method and Description |
---|---|
Scale |
ChartOptions.getScale() |
Constructor and Description |
---|
DefaultChartScale(Scale scale)
Creates the object by scale option element instance.
|
Modifier and Type | Class and Description |
---|---|
class |
ExtendedScale
Scale options used internally inside the chart configuration.
Extends the normal scale options with all methods to add callbacks and events. |
Modifier and Type | Method and Description |
---|---|
Scale |
ScaledOptions.getScale() |
Modifier and Type | Method and Description |
---|---|
List<Scale> |
Scales.getXAxes()
Returns a list of X axes.
|
List<Scale> |
Scales.getYAxes()
Returns a list of Y axes.
|
Modifier and Type | Method and Description |
---|---|
void |
ScaledOptions.setScale(Scale scale)
Sets a scale instance for options.
|
void |
Scales.setXAxes(Scale... scales)
Sets all X axes of chart.
|
void |
Scales.setYAxes(Scale... scales)
Sets all Y axes of chart.
|