Package | Description |
---|---|
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.enums |
Contains all enumerations of some chart options where only a specific set of values can be set.
|
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 |
---|---|
AxisKind |
Axis.getAxis()
Which kind of axis this is.
Possible values are: 'x', 'y' or 'r'. |
Constructor and Description |
---|
Axis(IsChart chart,
ScaleId id,
AxisType type,
AxisKind kind)
Builds the object storing the chart instance.
|
CartesianAxis(IsChart chart,
ScaleId id,
AxisType type,
AxisKind kind)
Builds the object storing the chart instance and cartesian axis type.
|
CartesianCategoryAxis(IsChart chart,
AxisKind kind)
Builds the object storing the chart instance and axis type.
|
CartesianCategoryAxis(IsChart chart,
ScaleId id,
AxisKind kind)
Builds the object storing the chart instance and axis type.
|
CartesianCategoryAxis(IsChart chart,
ScaleId id,
AxisType type,
AxisKind kind)
Builds the object storing the chart instance and cartesian axis type, to use to extend the axis.
|
CartesianCategoryAxis(IsChart chart,
String id,
AxisKind kind)
Builds the object storing the chart instance and axis type.
|
CartesianLinearAxis(IsChart chart,
AxisKind kind)
Builds the object storing the chart instance and axis type.
|
CartesianLinearAxis(IsChart chart,
ScaleId id,
AxisKind kind)
Builds the object storing the chart instance and axis type.
|
CartesianLinearAxis(IsChart chart,
ScaleId id,
AxisType type,
AxisKind kind)
Builds the object storing the chart instance and cartesian axis type, to use to extend the axis.
|
CartesianLinearAxis(IsChart chart,
String id,
AxisKind kind)
Builds the object storing the chart instance and axis type.
|
CartesianLogarithmicAxis(IsChart chart,
AxisKind kind)
Builds the object storing the chart instance and axis type.
|
CartesianLogarithmicAxis(IsChart chart,
ScaleId id,
AxisKind kind)
Builds the object storing the chart instance and axis type.
|
CartesianLogarithmicAxis(IsChart chart,
ScaleId id,
AxisType type,
AxisKind kind)
Builds the object storing the chart instance and cartesian axis type, to use to extend the axis.
|
CartesianLogarithmicAxis(IsChart chart,
String id,
AxisKind kind)
Builds the object storing the chart instance and axis type.
|
CartesianTimeAxis(IsChart chart,
AxisKind kind)
Builds the object storing the chart instance and axis type.
|
CartesianTimeAxis(IsChart chart,
ScaleId id,
AxisKind kind)
Builds the object storing the chart instance and axis type.
|
CartesianTimeAxis(IsChart chart,
ScaleId id,
AxisType type,
AxisKind kind)
Builds the object storing the chart instance and cartesian axis type.
|
CartesianTimeAxis(IsChart chart,
String id,
AxisKind kind)
Builds the object storing the chart instance and axis type.
|
CartesianTimeSeriesAxis(IsChart chart,
AxisKind kind)
Builds the object storing the chart instance and axis type.
|
CartesianTimeSeriesAxis(IsChart chart,
ScaleId id,
AxisKind kind)
Builds the object storing the chart instance and axis type.
|
CartesianTimeSeriesAxis(IsChart chart,
ScaleId id,
AxisType type,
AxisKind kind)
Builds the object storing the chart instance and cartesian axis type.
|
CartesianTimeSeriesAxis(IsChart chart,
String id,
AxisKind kind)
Builds the object storing the chart instance and axis type.
|
RadialAxis(IsChart chart,
ScaleId id,
AxisType type,
AxisKind kind)
Builds the object storing the chart instance and cartesian axis type.
|
Modifier and Type | Method and Description |
---|---|
IsDefaultScale |
IsDefaultScales.getAxis(ScaleId scaleId,
AxisKind kind)
Returns the default configuration for x axis.
|
Modifier and Type | Method and Description |
---|---|
IsDefaultScale |
DefaultChartScales.getAxis(ScaleId scaleId,
AxisKind kind) |
Modifier and Type | Method and Description |
---|---|
IsDefaultScale |
DefaultScales.getAxis(ScaleId scaleId,
AxisKind kind) |
Modifier and Type | Method and Description |
---|---|
AxisKind |
DefaultScaleId.getAxisKind() |
static AxisKind |
DefaultScaleId.getAxisKindByScaleId(Key scaleId,
AxisKind defaultValue)
Returns the axis kind inferring from the first character of the scale id which should be 'x', 'y' or 'r'.
|
static AxisKind |
DefaultScaleId.getAxisKindByScaleId(String scaleId,
AxisKind defaultValue)
Returns the axis kind inferring from the first character of the scale id which should be 'x', 'y' or 'r'.
|
static AxisKind |
AxisKind.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AxisKind[] |
AxisKind.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static AxisKind |
DefaultScaleId.getAxisKindByScaleId(Key scaleId,
AxisKind defaultValue)
Returns the axis kind inferring from the first character of the scale id which should be 'x', 'y' or 'r'.
|
static AxisKind |
DefaultScaleId.getAxisKindByScaleId(String scaleId,
AxisKind defaultValue)
Returns the axis kind inferring from the first character of the scale id which should be 'x', 'y' or 'r'.
|
static ScaleId |
DefaultScaleId.getByAxisKind(AxisKind kind,
ScaleId defaultValue)
Returns the default scale id instance by axis kind, otherwise will return
null if not found. |
Modifier and Type | Method and Description |
---|---|
AxisKind |
ScaleItem.getAxis()
Which kind of axis this is.
Possible values are: ''x', 'y' or 'r'. |
Modifier and Type | Method and Description |
---|---|
AxisKind |
Scale.getAxis()
Which kind of axis this is.
Possible values are: ''x', 'y' or 'r'. |
AxisKind |
ScaleId.getAxisKind()
Returns the default axis kind for this default scale id.
|
AxisKind |
StandardScaleId.getAxisKind() |
Modifier and Type | Method and Description |
---|---|
IsDefaultScale |
Scales.getAxis(ScaleId scaleId,
AxisKind kind) |
Constructor and Description |
---|
ExtendedScale(ConfigurationEnvelop<ScaleId> envelop,
AxisType type,
AxisKind kind,
IsDefaultScale defaultValues)
Creates a scale with default provider.
The native object is created empty. |