Package | Description |
---|---|
org.pepstock.charba.client |
Main package with all charts implementation, global classes and common interfaces.
|
org.pepstock.charba.client.callbacks |
All callbacks interfaces to be implemented, also to use the scriptable options of CHART.JS.
|
org.pepstock.charba.client.configuration |
Contains all elements to configure a chart instance (know as chart options at instance level).
|
org.pepstock.charba.client.events |
Contains all events to interact with chart instance.
|
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.gwt.widgets |
Contains all charts classes wrapped as GWT widget in order to enable to use inside to GWT UIBinder.
|
org.pepstock.charba.client.impl.callbacks |
Contains some callbacks implementations, available out-of-the box.
|
org.pepstock.charba.client.sankey |
Contains all classes to activate the Sankey controller (AKA
chartjs-chart-sankey.js ) for CHART.js. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractChart.checkAxes(Axis... axes) |
void |
IsChart.checkAxes(Axis... axes)
Checks if axes, requested to be stored, are an acceptable type or amount.
If a axis type or the amount of axes are not consistent for the chart, a IllegalArgumentException will be thrown. |
default boolean |
HasRadialAxis.checkAxis(Axis axis)
Returns
true if the axis can be managed by a this chart type. |
default boolean |
HasAxes.checkAxis(Axis axis)
Returns
true if the axis can be managed by a this chart type. |
default boolean |
HasCartesianAxes.checkAxis(Axis axis)
Returns
true if the axis can be managed by a this chart type. |
Modifier and Type | Method and Description |
---|---|
Axis |
ScaleContext.getAxis()
Returns the axis instance where the callback must be invoked.
|
Modifier and Type | Method and Description |
---|---|
void |
AxisBuildTicksCallback.onAfterBuildTicks(Axis axis,
AxisItem item)
Callback that runs after ticks are created.
|
void |
AxisCalculateLabelRotationCallback.onAfterCalculateLabelRotation(Axis axis,
AxisItem item)
Callback that runs after tick rotation is determined.
|
void |
AxisDataLimitsCallback.onAfterDataLimits(Axis axis,
AxisItem item)
Callback that runs after data limits are determined.
|
void |
AxisFitCallback.onAfterFit(Axis axis,
AxisItem item)
Callback that runs after the scale fits to the canvas.
|
void |
AxisDimensionsCallback.onAfterSetDimensions(Axis axis,
AxisItem item)
Callback that runs after dimensions are set.
|
void |
AxisTickToLabelConversionCallback.onAfterTickToLabelConversion(Axis axis,
AxisItem item)
Callback that runs after ticks are converted in the strings.
|
void |
AxisUpdateCallback.onAfterUpdate(Axis axis,
AxisItem item)
Callback that runs at the end of the update process.
|
void |
AxisBuildTicksCallback.onBeforeBuildTicks(Axis axis,
AxisItem item)
Callback that runs before ticks are created.
|
void |
AxisCalculateLabelRotationCallback.onBeforeCalculateLabelRotation(Axis axis,
AxisItem item)
Callback that runs before tick rotation is determined.
|
void |
AxisDataLimitsCallback.onBeforeDataLimits(Axis axis,
AxisItem item)
Callback that runs before data limits are determined.
|
void |
AxisFitCallback.onBeforeFit(Axis axis,
AxisItem item)
Callback that runs before the scale fits to the canvas.
|
void |
AxisDimensionsCallback.onBeforeSetDimensions(Axis axis,
AxisItem item)
Callback that runs before dimensions are set.
|
void |
AxisTickToLabelConversionCallback.onBeforeTickToLabelConversion(Axis axis,
AxisItem item)
Callback that runs before ticks are converted in the strings.
|
void |
AxisUpdateCallback.onBeforeUpdate(Axis axis,
AxisItem item)
Callback called before the update process starts.
|
String |
TimeTickCallback.onCallback(Axis axis,
Date value,
String label,
int index,
List<ScaleTickItem> values)
Changes the tick marks to include information about the data type.
|
String |
TickCallback.onCallback(Axis axis,
double value,
int index,
List<Double> values)
Changes the tick marks to include information about the data type.
|
String |
PointLabelCallback.onCallback(Axis axis,
String item,
int index)
Callback function to transform data labels to point labels.
|
String |
CategoryTickCallback.onCallback(Axis axis,
String value,
int index,
List<String> values)
Changes the tick marks to include information about the data type.
|
Constructor and Description |
---|
ScaleContext(Axis axis,
NativeObject nativeObject)
Creates the object with an envelop of the native object instance to be wrapped.
|
Modifier and Type | Class and Description |
---|---|
class |
CartesianAxis<T extends org.pepstock.charba.client.configuration.CartesianTick>
Axes are an integral part of a chart.
|
class |
CartesianCategoryAxis
This object is used to map defined axis as category.
|
class |
CartesianLinearAxis
This object is used to map defined axis as linear.
|
class |
CartesianLogarithmicAxis
This object is used to map defined axis as logarithmic.
|
class |
CartesianTimeAxis
This object is used to map defined axis as time.
|
class |
CartesianTimeSeriesAxis
This object is used to map defined axis as time series.
|
class |
RadialAxis
Radial axes are used specifically for the radar and polar area chart types.
These axes overlay the chart area, rather than being positioned on one of the edges. The linear scale is use to chart numerical data. As the name suggests, linear interpolation is used to determine where a value lies in relation the center of the axis. |
Modifier and Type | Method and Description |
---|---|
Axis |
IsLinearTick.getAxis()
Returns the axis instance.
|
protected Axis |
ConfigurationOptions.getAxisById(int id)
Returns the axis by the unique CHARBA id of scale or
null if not axis. |
protected Axis |
ScalesOptions.getAxisById(int id) |
protected Axis |
AbstractPieOptions.getAxisById(int id) |
Axis |
Scales.getAxisById(ScaleId scaleId)
Returns the scale with the id passed as argument or
null if not exist. |
Axis |
Scales.getAxisById(String scaleId)
Returns the scale with the id passed as argument or
null if not exist. |
Axis |
IsNumericAxis.getAxisElement()
Returns the axis instance.
|
Axis |
CartesianLogarithmicAxis.getAxisElement() |
Axis |
RadialAxis.getAxisElement() |
Axis |
CartesianLinearAxis.getAxisElement() |
Modifier and Type | Method and Description |
---|---|
List<Axis> |
Scales.getAxes()
Returns the list of X axes.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ConfigurationOptions.afterAxisConfigurationUpdate(Axis axis)
Invoked after the axis options has been updated.
|
protected void |
ConfigurationOptions.beforeAxisConfigurationUpdate(Axis axis)
Invoked before the axis options are going to be updated.
|
void |
StackedScales.setAxes(Axis... axes) |
void |
TimeSeriesScales.setAxes(Axis... axes) |
void |
Scales.setAxes(Axis... axes)
Sets an array of X axes.
|
Constructor and Description |
---|
AxisClickEvent(BaseNativeEvent nativeEvent,
ScaleItem item,
Axis axis,
ScaleValueItem value)
Creates the event with axis related to the click
|
AxisEnterEvent(BaseNativeEvent nativeEvent,
ScaleItem item,
Axis axis)
Creates the event with axis related to the enter
|
AxisHoverEvent(BaseNativeEvent nativeEvent,
ScaleItem item,
Axis axis)
Creates the event with axis related to the hover
|
AxisLeaveEvent(BaseNativeEvent nativeEvent,
ScaleItem item,
Axis axis)
Creates the event with axis related to the leave
|
Modifier and Type | Class and Description |
---|---|
class |
ColorAxis
The coloring of the nodes will be done with a special color scale.
Provides the elements, as colored legend, which can provide the how the values are distributed on map. |
class |
ColorLogarithmicAxis
The coloring of the nodes will be done with a special color scale, for logarithmic data.
Provides the elements, as colored legend, which can provide the how the values are distributed on map. |
class |
ProjectionAxis
A map projection is a way to flatten a globe's surface into a plane in order to make a map.
This requires a systematic transformation of the latitudes and longitudes of locations from the surface of the globe into locations on a plane. This is the scale which is managing the map projection. |
class |
SizeAxis
The scale is used to map the values to symbol radius size.
Provides the elements, as colored legend, which can provide the how the values are distributed on map. |
class |
SizeLogarithmicAxis
The scale is used to map the values to symbol radius size, for logarithmic data.
Provides the elements, as colored legend, which can provide the how the values are distributed on map. |
Modifier and Type | Method and Description |
---|---|
protected void |
BubbleMapOptions.afterAxisConfigurationUpdate(Axis axis) |
protected void |
ChoroplethOptions.afterAxisConfigurationUpdate(Axis axis) |
void |
BubbleMapChart.checkAxes(Axis... axes) |
void |
ChoroplethChart.checkAxes(Axis... axes) |
boolean |
BubbleMapChart.checkAxis(Axis axis) |
boolean |
ChoroplethChart.checkAxis(Axis axis) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractChartWidget.checkAxes(Axis... axes) |
Modifier and Type | Method and Description |
---|---|
String |
NoSelectedDatasetTicksCallback.onCallback(Axis axis,
double value,
int index,
List<Double> values) |
Modifier and Type | Method and Description |
---|---|
boolean |
SankeyChart.checkAxis(Axis axis) |