Package | Description |
---|---|
org.pepstock.charba.client.callbacks |
All callbacks interfaces to be implemented, also to use the scriptable options of CHART.JS.
|
org.pepstock.charba.client.events |
Contains all events to interact with chart instance.
|
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.
|
Modifier and Type | Method and Description |
---|---|
ScaleItem |
ScaleContext.getScale()
Returns the scale instance which contains the element to configure.
|
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 |
AxisItem
There are a number of configuration callbacks that can be used to change parameters in the scale at different points in the update process.
This is a wrapper of the CHART.JS item with all needed info about an axis. Implements all set methods to change java script object properties. |
Modifier and Type | Method and Description |
---|---|
ScaleItem |
DatasetItem.getIndexScale()
Returns the index scale item or
null if not exists.If IndexAxis = IndexAxis.Y then iScale === yScale and vScale === xScale.For radar, iScale === vScale === rScale. |
ScaleItem |
DatasetItem.getRScale()
Returns the R scale item or
null if not exists. |
ScaleItem |
ScalesNode.getScaleIsInside(BaseNativeEvent event)
Returns the scale item if the chart event is inside of one of scales, otherwise
null . |
ScaleItem |
PluginScaleArgument.getScaleItem()
Returns the scale item.
|
ScaleItem |
DatasetItem.getValueScale()
Returns the value scale item or
null if not exists.If IndexAxis = IndexAxis.Y then iScale === yScale and vScale === xScale.For radar, iScale === vScale === rScale. |
ScaleItem |
DatasetItem.getXScale()
Returns the X scale item or
null if not exists. |
ScaleItem |
DatasetItem.getYScale()
Returns the Y scale item or
null if not exists. |
Modifier and Type | Method and Description |
---|---|
Map<String,ScaleItem> |
ScalesNode.getItems()
Returns a map with all defined axis.
|