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.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 |
---|---|
InteractionAxis |
Interaction.getAxis()
Returns to 'x', 'y', or 'xy' to define which directions are used in calculating distances.
|
InteractionAxis |
Hover.getAxis()
Returns to 'x', 'y', or 'xy' to define which directions are used in calculating distances.
|
Modifier and Type | Method and Description |
---|---|
void |
Interaction.setAxis(InteractionAxis axis)
Sets to 'x', 'y', or 'xy' to define which directions are used in calculating distances.
Defaults to 'x' for index mode and 'xy' in data set and nearest modes. |
void |
Hover.setAxis(InteractionAxis axis)
Sets to 'x', 'y', or 'xy' to define which directions are used in calculating distances.
Defaults to 'x' for index mode and 'xy' in data set and nearest modes. |
Modifier and Type | Method and Description |
---|---|
InteractionAxis |
IsDefaultInteraction.getAxis()
Returns to 'x', 'y', or 'xy' to define which directions are used in calculating distances.
|
Modifier and Type | Method and Description |
---|---|
InteractionAxis |
DefaultChartInteraction.getAxis() |
Modifier and Type | Method and Description |
---|---|
InteractionAxis |
DefaultInteraction.getAxis() |
Modifier and Type | Method and Description |
---|---|
static InteractionAxis |
InteractionAxis.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InteractionAxis[] |
InteractionAxis.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
InteractionAxis |
Interaction.getAxis()
Returns to 'x', 'y', or 'xy' to define which directions are used in calculating distances.
|
Modifier and Type | Method and Description |
---|---|
void |
Interaction.setAxis(InteractionAxis axis)
Sets to 'x', 'y', or 'xy' to define which directions are used in calculating distances.
Defaults to 'x' for index mode and 'xy' in dataset and nearest modes. |
Modifier and Type | Field and Description |
---|---|
static InteractionAxis |
AbstractConfigurationItem.DEFAULT_MODE
Default mode directions,
XY . |
static InteractionAxis |
AbstractConfigurationItem.DEFAULT_OVER_SCALE_MODE
Default mode directions, when over the scale,
XY . |
Modifier and Type | Method and Description |
---|---|
InteractionAxis |
AbstractConfigurationItem.getMode()
Returns the element (panning or zooming) directions.
|
InteractionAxis |
AbstractConfigurationItem.getOverScaleMode()
Returns which of the enabled zooming directions should only be available when the mouse cursor is over one of scale.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractConfigurationItem.setMode(InteractionAxis mode)
Sets the element (panning or zooming) directions.
|
void |
AbstractConfigurationItem.setOverScaleMode(InteractionAxis mode)
Sets which of the enabled zooming directions should only be available when the mouse cursor is over one of scale.
If under mouse hasn't scale, then return all other scales which 'mode' is different with overScaleMode. So 'overScaleMode' works as a limiter to scale the user-selected scale (in 'mode') only when the cursor is under the scale, and other directions in 'mode' works as before. |