Uses of Interface
org.pepstock.charba.client.options.TransitionKey
-
Packages that use TransitionKey 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.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.gwt.widgets Contains all charts classes wrapped as GWT widget in order to enable to use inside to GWT UIBinder.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 TransitionKey in org.pepstock.charba.client
Fields in org.pepstock.charba.client declared as TransitionKey Modifier and Type Field Description static TransitionKey
UpdateConfiguration. UPDATE
Default animation mode key, used for chart updating.Methods in org.pepstock.charba.client with parameters of type TransitionKey Modifier and Type Method Description default void
Controller. onAfterUpdate(ControllerContext context, IsChart chart, TransitionKey mode)
Called after it updates the elements in response to new data.default void
Controller. onBeforeUpdate(ControllerContext context, IsChart chart, TransitionKey mode)
Called before it updates the elements in response to new data.void
AbstractChart. reconfigure(TransitionKey mode)
Triggers an update of the chart.
This can be safely called after updating the data object.
This will update the options, mutating the options property in place.
A animation mode key can be provided for the update process using a specific animation configuration.
This is useful when update is manually called inside an event handler and some different animation is desired.void
IsChart. reconfigure(TransitionKey mode)
Triggers an update of the chart.
This can be safely called after updating the data object.
This will update the options, mutating the options property in place.
A animation mode key can be provided for the update process using a specific animation configuration.
This is useful when update is manually called inside an event handler and some different animation is desired.void
AbstractChart. update(TransitionKey mode)
Triggers an update of the chart.
This can be safely called after updating the data object.
This will update all scales, legends, and then re-render the chart.
A animation mode key can be provided for the update process using a specific animation configuration.
This is useful when update is manually called inside an event handler and some different animation is desired.void
IsChart. update(TransitionKey mode)
Triggers an update of the chart.
This can be safely called after updating the data object.
This will update all scales, legends, and then re-render the chart.
A config object can be provided with additional configuration for the update process.
This is useful when update is manually called inside an event handler and some different animation is desired. -
Uses of TransitionKey in org.pepstock.charba.client.callbacks
Methods in org.pepstock.charba.client.callbacks that return TransitionKey Modifier and Type Method Description TransitionKey
AbstractDatasetContext. getMode()
Returns the update mode. -
Uses of TransitionKey in org.pepstock.charba.client.configuration
Methods in org.pepstock.charba.client.configuration with parameters of type TransitionKey Modifier and Type Method Description AnimationTransition
Transitions. create(TransitionKey transition)
Creates an animation transition instance and stores in the animation options.AnimationTransition
Transitions. get(TransitionKey transition)
Returns an animation transition instance if stored in the animation options.boolean
Transitions. has(TransitionKey transition)
Returnstrue
if an animation transition instance is stored in the animation options.void
Transitions. remove(TransitionKey transition)
Removes an animation transition previously added.void
Transitions. set(TransitionKey transition, AnimationTransition animationTransition)
Sets an animation transition instance to store in the animation options. -
Uses of TransitionKey in org.pepstock.charba.client.defaults
Methods in org.pepstock.charba.client.defaults with parameters of type TransitionKey Modifier and Type Method Description IsDefaultAnimationTransition
IsDefaultTransitions. get(TransitionKey transition)
Returns an animation transition instance if stored in the animation options.boolean
IsDefaultTransitions. has(TransitionKey transition)
Returnstrue
if an animation transition instance is stored in the animation options. -
Uses of TransitionKey in org.pepstock.charba.client.defaults.chart
Methods in org.pepstock.charba.client.defaults.chart with parameters of type TransitionKey Modifier and Type Method Description IsDefaultAnimationTransition
DefaultChartTransitions. get(TransitionKey transition)
boolean
DefaultChartTransitions. has(TransitionKey transition)
-
Uses of TransitionKey in org.pepstock.charba.client.defaults.globals
Methods in org.pepstock.charba.client.defaults.globals with parameters of type TransitionKey Modifier and Type Method Description IsDefaultAnimationTransition
DefaultTransitions. get(TransitionKey transition)
boolean
DefaultTransitions. has(TransitionKey transition)
-
Uses of TransitionKey in org.pepstock.charba.client.enums
Classes in org.pepstock.charba.client.enums that implement TransitionKey Modifier and Type Class Description class
DefaultTransitionKey
Cores animation update modes (transition) provided out of the box by CHART.JS.Methods in org.pepstock.charba.client.enums with parameters of type TransitionKey Modifier and Type Method Description static boolean
DefaultTransitionKey. is(TransitionKey mode)
Returnstrue
if the argument is equals to a default animation mode. -
Uses of TransitionKey in org.pepstock.charba.client.gwt.widgets
Methods in org.pepstock.charba.client.gwt.widgets with parameters of type TransitionKey Modifier and Type Method Description void
AbstractChartWidget. reconfigure(TransitionKey mode)
void
AbstractChartWidget. update(TransitionKey mode)
-
Uses of TransitionKey in org.pepstock.charba.client.items
Methods in org.pepstock.charba.client.items that return TransitionKey Modifier and Type Method Description TransitionKey
PluginUpdateArgument. getMode()
Returns the update mode. -
Uses of TransitionKey in org.pepstock.charba.client.options
Methods in org.pepstock.charba.client.options that return TransitionKey Modifier and Type Method Description static TransitionKey
TransitionKey. checkAndGetIfValid(TransitionKey transition)
Checks if mode passed as argument is notnull
.
If not, throw aIllegalArgumentException
, otherwise it returns the argument.static TransitionKey
TransitionKey. create(String transition)
Returns a animation update mode (transition) instance by its string value.Methods in org.pepstock.charba.client.options with parameters of type TransitionKey Modifier and Type Method Description static TransitionKey
TransitionKey. checkAndGetIfValid(TransitionKey transition)
Checks if mode passed as argument is notnull
.
If not, throw aIllegalArgumentException
, otherwise it returns the argument.static void
TransitionKey. checkIfValid(TransitionKey transition)
AnimationTransition
IsTransitions. create(TransitionKey transition)
Creates an animation transition instance and stores in the animation options.AnimationTransition
Transitions. create(TransitionKey transition)
Creates an animation transition instance and stores in the animation options.AnimationTransition
IsTransitions. get(TransitionKey transition)
Returns an animation transition instance if stored in the animation options.AnimationTransition
Transitions. get(TransitionKey transition)
Returns an animation transition instance if stored in the animation options.boolean
Transitions. has(TransitionKey transition)
Returnstrue
if an animation transition instance is stored in the animation options.static boolean
TransitionKey. isValid(TransitionKey transition)
Returnstrue
if type passed as argument is notnull
.void
IsTransitions. remove(TransitionKey transition)
Removes an animation transition previously added.void
Transitions. remove(TransitionKey transition)
Removes an animation transition previously added.void
IsTransitions. set(TransitionKey transition, AnimationTransition animationTransition)
Sets an animation transition instance to store in the animation options.void
Transitions. set(TransitionKey transition, AnimationTransition animationTransition)
Sets an animation transition instance to store in the animation options. -
Uses of TransitionKey in org.pepstock.charba.client.zoom
Fields in org.pepstock.charba.client.zoom declared as TransitionKey Modifier and Type Field Description static TransitionKey
ZoomPlugin. ZOOM_TRANSITION_MODE
Custom transition mode to update the chart by API, "zoom".Methods in org.pepstock.charba.client.zoom with parameters of type TransitionKey Modifier and Type Method Description static void
ZoomPlugin. pan(IsChart chart, double amount, TransitionKey transition)
Pans the chart on demand, programmatically.static void
ZoomPlugin. pan(IsChart chart, Amount amount, TransitionKey transition)
Pans the chart on demand, programmatically.static void
ZoomPlugin. reset(IsChart chart, TransitionKey transition)
Reset the zoom of chart whenZoomPlugin
is activated.static void
ZoomPlugin. zoom(IsChart chart, double amount, TransitionKey transition)
Zooms the chart on demand, programmatically.static void
ZoomPlugin. zoom(IsChart chart, Amount amount, TransitionKey transition)
Zooms the chart on demand, programmatically.static void
ZoomPlugin. zoomRect(IsChart chart, ZoomPoint p0, ZoomPoint p1, TransitionKey transition)
Zooms the chart for a specific rectangle, programmatically.static void
ZoomPlugin. zoomScale(IsChart chart, ScaleId scaleId, ScaleRange range, TransitionKey transition)
Zooms the chart scale on demand, programmatically.
-