Uses of Interface
org.pepstock.charba.client.options.ScaleId
-
Packages that use ScaleId Package Description org.pepstock.charba.client.annotation Contains all classes to activate theAnnotationPlugin.ID
plugin (AKAchartjs-plugin-annotation.js
) for CHART.js.org.pepstock.charba.client.annotation.elements Contains theAnnotationPlugin.ID
plugin elements interfaces to use in the callbacks and events.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 (AKAchartjs-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 theZoomPlugin.ID
plugin (AKAchartjs-plugin-zoom.js
) for CHART.js. -
-
Uses of ScaleId in org.pepstock.charba.client.annotation
Methods in org.pepstock.charba.client.annotation that return ScaleId Modifier and Type Method Description ScaleId
LineAnnotation. getScaleID()
Returns the ID of the scale to bind onto.ScaleId
AbstractAnnotation. getXScaleID()
Returns the ID of the X scale to bind onto.ScaleId
AbstractAnnotation. getYScaleID()
Returns the ID of the Y scale to bind onto.Methods in org.pepstock.charba.client.annotation with parameters of type ScaleId Modifier and Type Method Description void
LineAnnotation. setScaleID(ScaleId scaleId)
Sets the ID of the scale to bind onto.void
AbstractAnnotation. setXScaleID(ScaleId scaleId)
Sets the ID of the X scale to bind onto.void
AbstractAnnotation. setYScaleID(ScaleId scaleId)
Sets the ID of the Y scale to bind onto. -
Uses of ScaleId in org.pepstock.charba.client.annotation.elements
Methods in org.pepstock.charba.client.annotation.elements that return ScaleId Modifier and Type Method Description ScaleId
OptionsElement. getScaleID()
Returns the ID of the scale to bind onto.ScaleId
OptionsElement. getXScaleID()
Returns the ID of the X scale to bind onto.ScaleId
OptionsElement. getYScaleID()
Returns the ID of the Y scale to bind onto. -
Uses of ScaleId in org.pepstock.charba.client.commons
Methods in org.pepstock.charba.client.commons that return ScaleId Modifier and Type Method Description protected ScaleId
NativeObjectContainer. getValue(Key key, ScaleId defaultValue)
Returns a value (ScaleId) in the embedded JavaScript object at specific property.Methods in org.pepstock.charba.client.commons with parameters of type ScaleId Modifier and Type Method Description protected ScaleId
NativeObjectContainer. getValue(Key key, ScaleId defaultValue)
Returns a value (ScaleId) in the embedded JavaScript object at specific property. -
Uses of ScaleId in org.pepstock.charba.client.configuration
Methods in org.pepstock.charba.client.configuration that return ScaleId Modifier and Type Method Description ScaleId
AxisType. getDefaultScaleId()
Returns the default scale id for this axis type.ScaleId
Axis. getId()
The ID is used to link datasets and scale axes together.
This is especially needed if multi-axes charts are used.Methods in org.pepstock.charba.client.configuration with parameters of type ScaleId Modifier and Type Method Description static AxisType
AxisType. create(String type, ChartAxisType baseType, ScaleId defaultScaleId)
Returns a axis type by its string value, extended existing axis type and defaultScaleId
.
It uses theScaleDataType
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 ornull
if not exist.Constructors in org.pepstock.charba.client.configuration with parameters of type ScaleId Constructor 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, AxisType type, AxisKind kind)
Builds the object storing the chart instance and cartesian axis type, to use to extend the axis.CartesianCategoryAxis(IsChart chart, ScaleId id, AxisKind kind)
Builds the object storing the chart instance and axis type.CartesianLinearAxis(IsChart chart, ScaleId id)
Builds the object storing the chart instance.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, ScaleId id, AxisKind kind)
Builds the object storing the chart instance and axis type.CartesianLogarithmicAxis(IsChart chart, ScaleId id)
Builds the object storing the chart instance.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, ScaleId id, AxisKind kind)
Builds the object storing the chart instance and axis type.CartesianTimeAxis(IsChart chart, ScaleId id)
Builds the object storing the chart instance.CartesianTimeAxis(IsChart chart, ScaleId id, AxisType type, AxisKind kind)
Builds the object storing the chart instance and cartesian axis type.CartesianTimeAxis(IsChart chart, ScaleId id, AxisKind kind)
Builds the object storing the chart instance and axis type.CartesianTimeSeriesAxis(IsChart chart, ScaleId id)
Builds the object storing the chart instance.CartesianTimeSeriesAxis(IsChart chart, ScaleId id, AxisType type, AxisKind kind)
Builds the object storing the chart instance and cartesian axis type.CartesianTimeSeriesAxis(IsChart chart, ScaleId 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. -
Uses of ScaleId in org.pepstock.charba.client.data
Methods in org.pepstock.charba.client.data that return ScaleId Modifier and Type Method 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 ofDefaultScaleId.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 ofDefaultScaleId.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.Methods in org.pepstock.charba.client.data with parameters of type ScaleId Modifier and Type Method 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. -
Uses of ScaleId in org.pepstock.charba.client.defaults
Methods in org.pepstock.charba.client.defaults with parameters of type ScaleId Modifier and Type Method Description IsDefaultScale
IsDefaultScales. getAxis(ScaleId scaleId, AxisKind kind)
Returns the default configuration for x axis. -
Uses of ScaleId in org.pepstock.charba.client.defaults.chart
Methods in org.pepstock.charba.client.defaults.chart with parameters of type ScaleId Modifier and Type Method Description IsDefaultScale
DefaultChartScales. getAxis(ScaleId scaleId, AxisKind kind)
-
Uses of ScaleId in org.pepstock.charba.client.defaults.globals
Methods in org.pepstock.charba.client.defaults.globals with parameters of type ScaleId Modifier and Type Method Description IsDefaultScale
DefaultScales. getAxis(ScaleId scaleId, AxisKind kind)
-
Uses of ScaleId in org.pepstock.charba.client.enums
Classes in org.pepstock.charba.client.enums that implement ScaleId Modifier and Type Class Description class
DefaultScaleId
Enumerates the default scale id.Methods in org.pepstock.charba.client.enums that return ScaleId Modifier and Type Method Description static ScaleId
DefaultScaleId. getByAxisKind(AxisKind kind, ScaleId defaultValue)
Returns the default scale id instance by axis kind, otherwise will returnnull
if not found.ScaleId
ChartAxisType. getDefaultScaleId()
Methods in org.pepstock.charba.client.enums with parameters of type ScaleId Modifier and Type Method Description static ScaleId
DefaultScaleId. getByAxisKind(AxisKind kind, ScaleId defaultValue)
Returns the default scale id instance by axis kind, otherwise will returnnull
if not found.boolean
DefaultScaleId. is(ScaleId scaleId)
Returnstrue
if the scale id is related to this axis id. -
Uses of ScaleId in org.pepstock.charba.client.geo
Fields in org.pepstock.charba.client.geo declared as ScaleId Modifier and Type Field Description static ScaleId
ColorAxis. ID
Projection axis id.static ScaleId
ProjectionAxis. ID
Projection axis id.static ScaleId
SizeAxis. ID
Size axis id. -
Uses of ScaleId in org.pepstock.charba.client.impl.plugins
Methods in org.pepstock.charba.client.impl.plugins that return ScaleId Modifier and Type Method Description ScaleId
DatasetsItemsSelectorOptions. getXAxisID()
Returns the ID of the x axis to plot this dataset on.ScaleId
CrosshairOptions. getXScaleID()
Returns the ID of the X scale to bind onto.ScaleId
DatasetsItemsSelectorOptions. getYAxisID()
Returns the ID of the y axis to plot this dataset on.ScaleId
CrosshairOptions. getYScaleID()
Returns the ID of the Y scale to bind onto.Methods in org.pepstock.charba.client.impl.plugins with parameters of type ScaleId Modifier and Type Method 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.void
CrosshairOptions. setXScaleID(ScaleId scaleId)
Sets the ID of the X scale to bind onto.CrosshairOptionsBuilder
CrosshairOptionsBuilder. setXScaleID(ScaleId scaleId)
Sets the ID of the X scale to bind onto.void
DatasetsItemsSelectorOptions. setYAxisID(ScaleId yAxisID)
Sets the ID of the y axis to plot this dataset on.void
CrosshairOptions. setYScaleID(ScaleId scaleId)
Sets the ID of the Y scale to bind onto.CrosshairOptionsBuilder
CrosshairOptionsBuilder. setYScaleID(ScaleId scaleId)
Sets the ID of the Y scale to bind onto. -
Uses of ScaleId in org.pepstock.charba.client.items
Methods in org.pepstock.charba.client.items that return ScaleId Modifier and Type Method Description ScaleId
ScaleItem. getId()
Returns the id of scaleScaleId
DatasetItem. getIndexAxisID()
Returns the index axis ID.ScaleId
DatasetItem. getRAxisID()
Returns the R axis ID.ScaleId
AxisPositionItem. getScaleId()
Returns the scale id set for positioning.ScaleId
DatasetItem. getValueAxisID()
Returns the value axis ID.ScaleId
DatasetItem. getXAxisID()
Returns the X axis ID.ScaleId
DatasetItem. getYAxisID()
Returns the Y axis ID.Methods in org.pepstock.charba.client.items with parameters of type ScaleId Modifier and Type Method Description void
AxisPositionItem. setPosition(ScaleId id, double value)
Sets the position of another scale.void
AxisPositionItem. setPosition(ScaleId id, String value)
Sets the position of another scale.void
AxisPositionItem. setPosition(ScaleId id, Date value)
Sets the position of another scale.Constructors in org.pepstock.charba.client.items with parameters of type ScaleId Constructor Description AxisPositionItem(ScaleId id, double value)
Creates an item with the position.AxisPositionItem(ScaleId id, String value)
Creates an item with the position.AxisPositionItem(ScaleId id, Date value)
Creates an item with the position. -
Uses of ScaleId in org.pepstock.charba.client.options
Methods in org.pepstock.charba.client.options that return ScaleId Modifier and Type Method 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.Methods in org.pepstock.charba.client.options with parameters of type ScaleId Modifier and Type Method 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 notnull
and its value is notnull
as well and could be a valid scale id.
If not, throw aIllegalArgumentException
.Scale
Scales. getAxis(ScaleId scaleId)
Returns the scale with the id passed as argument ornull
if not exist.IsDefaultScale
Scales. getAxis(ScaleId scaleId, AxisKind kind)
boolean
Scales. hasAxis(ScaleId scaleId)
Returnstrue
if the scale with the id passed as argument exists.static boolean
ScaleId. isValid(ScaleId id)
Returnstrue
if scale id passed as argument is notnull
and its value is notnull
as well and could be a valid scale id.Constructor parameters in org.pepstock.charba.client.options with type arguments of type ScaleId Constructor Description ExtendedScale(ConfigurationEnvelop<ScaleId> envelop, AxisType type, AxisKind kind, IsDefaultScale defaultValues)
Creates a scale with default provider.
The native object is created empty. -
Uses of ScaleId in org.pepstock.charba.client.zoom
Methods in org.pepstock.charba.client.zoom with parameters of type ScaleId Modifier and Type Method 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, TransitionMode transition)
Zooms the chart scale on demand, programmatically.
-