Package | Description |
---|---|
org.pepstock.charba.client.annotation |
Contains all classes to activate the
AnnotationPlugin#ID plugin (AKA chartjs-plugin-annotation.js ) for CHART.js. |
org.pepstock.charba.client.commons |
Core classes to manage the inter-operations with java script code.
|
org.pepstock.charba.client.configuration |
Contains all elements to configure a chart instance (know as chart options at instance level).
|
org.pepstock.charba.client.data |
Contains all elements to configure the datasets of a chart instance (know as chart data 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.geo |
Contains all classes to activate the GEO controllers (AKA
chartjs-chart-geo.js ) for CHART.js. |
org.pepstock.charba.client.impl.plugins |
Contains some plugins implementations, available out-of-the box.
|
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).
|
org.pepstock.charba.client.zoom |
Contains all classes to activate the
ZoomPlugin.ID plugin (AKA chartjs-plugin-zoom.js ) for CHART.js. |
Modifier and Type | Method and Description |
---|---|
ScaleId |
LineAnnotation.getScaleID()
Returns the ID of the scale to bind onto.
|
ScaleId |
PointAnnotation.getXScaleID()
Returns the ID of the X scale to bind onto.
|
ScaleId |
PointAnnotation.getYScaleID()
Returns the ID of the Y scale to bind onto.
|
Modifier and Type | Method and Description |
---|---|
void |
LineAnnotation.setScaleID(ScaleId scaleId)
Sets the ID of the scale to bind onto.
|
void |
PointAnnotation.setXScaleID(ScaleId scaleId)
Sets the ID of the X scale to bind onto.
|
void |
PointAnnotation.setYScaleID(ScaleId scaleId)
Sets the ID of the Y scale to bind onto.
|
Modifier and Type | Method and Description |
---|---|
protected ScaleId |
NativeObjectContainer.getValue(Key key,
ScaleId defaultValue)
Returns a value (ScaleId) in the embedded JavaScript object at specific property.
|
Modifier and Type | Method and Description |
---|---|
protected ScaleId |
NativeObjectContainer.getValue(Key key,
ScaleId defaultValue)
Returns a value (ScaleId) in the embedded JavaScript object at specific property.
|
Modifier and Type | Method and Description |
---|---|
ScaleId |
AxisType.getDefaultScaleId()
Returns the default scale id for this axis type.
|
ScaleId |
StandardAxisType.getDefaultScaleId() |
ScaleId |
Axis.getId()
The ID is used to link datasets and scale axes together.
This is especially needed if multi-axes charts are used. |
Modifier and Type | Method and Description |
---|---|
static AxisType |
AxisType.create(String type,
ChartAxisType baseType,
ScaleId defaultScaleId)
Returns a axis type by its string value, extended existing axis type and default
ScaleId .It uses the ScaleDataType of extended axis type. |
static AxisType |
AxisType.create(String type,
ChartAxisType baseType,
ScaleId defaultScaleId,
ScaleDataType dataType)
Returns a axis type by all needed objects to create a axis type.
|
Axis |
Scales.getAxisById(ScaleId scaleId)
Returns the scale with the id passed as argument or
null if not exist. |
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,
ScaleId id)
Builds the object storing the chart instance.
|
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.
|
CartesianLinearAxis(IsChart chart,
ScaleId id)
Builds the object storing the chart instance.
|
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.
|
CartesianLogarithmicAxis(IsChart chart,
ScaleId id)
Builds the object storing the chart instance.
|
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.
|
CartesianTimeAxis(IsChart chart,
ScaleId id)
Builds the object storing the chart instance.
|
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.
|
CartesianTimeSeriesAxis(IsChart chart,
ScaleId id)
Builds the object storing the chart instance.
|
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.
|
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 |
---|---|
ScaleId |
BarDataset.getXAxisID()
Returns the ID of the x axis to plot this data set on.
If not specified, this defaults to the ID of DefaultScaleId.X . |
ScaleId |
LineDataset.getXAxisID()
Returns the ID of the x axis to plot this data set on.
If not specified, this defaults to the ID of DefaultScaleId.X . |
ScaleId |
BarDataset.getYAxisID()
Returns the ID of the y axis to plot this data set on.
|
ScaleId |
LineDataset.getYAxisID()
Returns the ID of the y axis to plot this data set on.
|
Modifier and Type | Method and Description |
---|---|
void |
BarDataset.setXAxisID(ScaleId xAxisID)
Sets the ID of the x axis to plot this data set on.
|
void |
LineDataset.setXAxisID(ScaleId xAxisID)
Sets the ID of the x axis to plot this data set on.
|
void |
BarDataset.setYAxisID(ScaleId yAxisID)
Sets the ID of the y axis to plot this data set on.
|
void |
LineDataset.setYAxisID(ScaleId yAxisID)
Sets the ID of the y axis to plot this data set on.
|
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 | Class and Description |
---|---|
class |
DefaultScaleId
Enumerates the default scale id.
|
Modifier and Type | Method and Description |
---|---|
static ScaleId |
DefaultScaleId.getByAxisKind(AxisKind kind,
ScaleId defaultValue)
Returns the default scale id instance by axis kind, otherwise will return
null if not found. |
ScaleId |
ChartAxisType.getDefaultScaleId() |
Modifier and Type | Method and Description |
---|---|
static ScaleId |
DefaultScaleId.getByAxisKind(AxisKind kind,
ScaleId defaultValue)
Returns the default scale id instance by axis kind, otherwise will return
null if not found. |
boolean |
DefaultScaleId.is(ScaleId scaleId)
Returns
true if the scale id is related to this axis id. |
Modifier and Type | Field and Description |
---|---|
static ScaleId |
ProjectionAxis.ID
Projection axis id.
|
static ScaleId |
ColorAxis.ID
Projection axis id.
|
static ScaleId |
SizeAxis.ID
Size axis id.
|
Modifier and Type | Method and Description |
---|---|
ScaleId |
DatasetsItemsSelectorOptions.getXAxisID()
Returns the ID of the x axis to plot this dataset on.
|
Modifier and Type | Method and Description |
---|---|
void |
DatasetsItemsSelectorOptions.setXAxisID(ScaleId xAxisID)
Sets the ID of the x axis to plot this dataset on.
|
DatasetsItemsSelectorOptionsBuilder |
DatasetsItemsSelectorOptionsBuilder.setXAxisID(ScaleId xAxisID)
Sets the ID of the x axis to plot this dataset on.
|
Modifier and Type | Method and Description |
---|---|
ScaleId |
ScaleItem.getId()
Returns the id of scale
|
ScaleId |
DatasetItem.getIndexAxisID()
Returns the index axis ID.
|
ScaleId |
DatasetItem.getRAxisID()
Returns the R axis ID.
|
ScaleId |
DatasetItem.getValueAxisID()
Returns the value axis ID.
|
ScaleId |
DatasetItem.getXAxisID()
Returns the X axis ID.
|
ScaleId |
DatasetItem.getYAxisID()
Returns the Y axis ID.
|
Modifier and Type | Class and Description |
---|---|
class |
StandardScaleId
This is a standard implementation of a scale id
|
Modifier and Type | Method and Description |
---|---|
static ScaleId |
ScaleId.checkAndGetScaleID(String id,
ScaleId defaultValue)
Returns the ID of the scale checking the default ones,
DefaultScaleId . |
static ScaleId |
ScaleId.create(String id)
Returns a key instance by its string value.
|
ScaleId |
Scale.getId()
Returns the id of scale.
It is usually used to link data sets and scale axes together. This is especially needed if multi-axes charts are used. |
Modifier and Type | Method and Description |
---|---|
static ScaleId |
ScaleId.checkAndGetScaleID(String id,
ScaleId defaultValue)
Returns the ID of the scale checking the default ones,
DefaultScaleId . |
static void |
ScaleId.checkIfValid(ScaleId id)
Checks if scale id passed as argument is not
null and its value is not null as well and could be a valid scale id.If not, throw a IllegalArgumentException . |
Scale |
Scales.getAxis(ScaleId scaleId)
Returns the scale with the id passed as argument or
null if not exist. |
IsDefaultScale |
Scales.getAxis(ScaleId scaleId,
AxisKind kind) |
boolean |
Scales.hasAxis(ScaleId scaleId)
Returns
true if the scale with the id passed as argument exists. |
static boolean |
ScaleId.isValid(ScaleId id)
Returns
true if scale id passed as argument is not null and its value is not null as well and could be a valid scale id. |
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. |
Modifier and Type | Method and Description |
---|---|
static void |
ZoomPlugin.zoomScale(IsChart chart,
ScaleId scaleId,
ScaleRange range)
Zooms the chart scale on demand, programmatically.
|
static void |
ZoomPlugin.zoomScale(IsChart chart,
ScaleId scaleId,
ScaleRange range,
TransitionKey transition)
Zooms the chart scale on demand, programmatically.
|