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 | Method and Description |
---|---|
Scale |
Defaults.getScale(AxisType axisType)
Returns the global scale by axis type.
|
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 |
Scales.getAxis(ScaleId scaleId)
Returns the scale with the id passed as argument or
null if not exist. |
Scale |
Scales.getAxis(String scaleId)
Returns the scale with the id passed as argument or
null if not exist. |
Modifier and Type | Method and Description |
---|---|
List<Scale> |
Scales.getAxes()
Returns a list of X axes.
|
Modifier and Type | Method and Description |
---|---|
void |
ExtendedScales.setAxes(Scale... scales)
Sets all axes of chart.
|
Constructor and Description |
---|
ExtendedScale(ConfigurationEnvelop<Scale> envelop,
IsDefaultScale defaultValues)
Creates a scale with the chart options scale as inner object.
|