Class JmixChart
java.lang.Object
com.vaadin.flow.component.Component
io.jmix.chartsflowui.kit.component.JmixChart
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.component.HasSize
,com.vaadin.flow.component.HasStyle
,Serializable
- Direct Known Subclasses:
Chart
@Tag("jmix-chart")
@NpmPackage(value="echarts",
version="5.4.3")
@JsModule("./src/chart/jmix-chart.js")
public class JmixChart
extends com.vaadin.flow.component.Component
implements com.vaadin.flow.component.HasSize
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected Map<DataSet,
ChartIncrementalChanges<? extends DataItem>> protected boolean
protected com.vaadin.flow.data.provider.KeyMapper<Object>
protected final List<JmixChart.PendingJsFunction>
protected ChartOptions
protected static final String
protected static final String
protected JmixChartSerializer
protected com.vaadin.flow.internal.StateTree.ExecutionRegistration
protected com.vaadin.flow.internal.StateTree.ExecutionRegistration
protected com.vaadin.flow.internal.StateTree.ExecutionRegistration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected <T extends DataItem>
voidaddChangedDataItems
(ChartItems.DataChangeOperation operation, Collection<T> items) com.vaadin.flow.shared.Registration
addClickEventListener
(com.vaadin.flow.component.ComponentEventListener<ChartClickEvent> listener) void
addColorToPalette
(Color color) Adds a single color to the chart color palette.void
addDataZoom
(AbstractDataZoom<?> dataZoom) Adds aAbstractDataZoom
component witch used for zooming a specific area in the chart.com.vaadin.flow.shared.Registration
addDataZoomEventListener
(com.vaadin.flow.component.ComponentEventListener<ChartDataZoomEvent> listener) com.vaadin.flow.shared.Registration
addDoubleClickEventListener
(com.vaadin.flow.component.ComponentEventListener<ChartDoubleClickEvent> listener) com.vaadin.flow.shared.Registration
addFinishedEventListener
(com.vaadin.flow.component.ComponentEventListener<ChartFinishedEvent> listener) com.vaadin.flow.shared.Registration
addGlobalCursorTakenEventListener
(com.vaadin.flow.component.ComponentEventListener<ChartGlobalCursorTakenEvent> listener) com.vaadin.flow.shared.Registration
addGlobalOutEventListener
(com.vaadin.flow.component.ComponentEventListener<ChartGlobalOutEvent> listener) void
Adds aGrid
to the chart options.com.vaadin.flow.shared.Registration
addLegendInverseSelectEventListener
(com.vaadin.flow.component.ComponentEventListener<ChartLegendInverseSelectEvent> listener) com.vaadin.flow.shared.Registration
addLegendScrollEventListener
(com.vaadin.flow.component.ComponentEventListener<ChartLegendScrollEvent> listener) com.vaadin.flow.shared.Registration
addLegendSelectAllEventListener
(com.vaadin.flow.component.ComponentEventListener<ChartLegendSelectAllEvent> listener) com.vaadin.flow.shared.Registration
addLegendSelectChangedEventListener
(com.vaadin.flow.component.ComponentEventListener<ChartLegendSelectChangedEvent> listener) com.vaadin.flow.shared.Registration
addMagicTypeChangedEventListener
(com.vaadin.flow.component.ComponentEventListener<ChartMagicTypeChangedEvent> listener) com.vaadin.flow.shared.Registration
addMouseDownEventListener
(com.vaadin.flow.component.ComponentEventListener<ChartMouseDownEvent> listener) com.vaadin.flow.shared.Registration
addMouseMoveEventListener
(com.vaadin.flow.component.ComponentEventListener<ChartMouseMoveEvent> listener) com.vaadin.flow.shared.Registration
addMouseOutEventListener
(com.vaadin.flow.component.ComponentEventListener<ChartMouseOutEvent> listener) com.vaadin.flow.shared.Registration
addMouseOverEventListener
(com.vaadin.flow.component.ComponentEventListener<ChartMouseOverEvent> listener) com.vaadin.flow.shared.Registration
addMouseUpEventListener
(com.vaadin.flow.component.ComponentEventListener<ChartMouseUpEvent> listener) com.vaadin.flow.shared.Registration
addRenderedEventListener
(com.vaadin.flow.component.ComponentEventListener<ChartRenderedEvent> listener) com.vaadin.flow.shared.Registration
addRestoreEventListener
(com.vaadin.flow.component.ComponentEventListener<ChartRestoreEvent> listener) void
addSeries
(AbstractSeries<?> series) Adds a series to the chart options.void
addVisualMap
(AbstractVisualMap<?> visualMap) Adds aAbstractVisualMap
to the chart options.void
Adds aXAxis
in cartesian(rectangular) coordinate to the chart options.void
Adds aYAxis
in cartesian(rectangular) coordinate to the chart options.protected void
callJsFunction
(String function, elemental.json.JsonObject resultJson) protected void
callPendingJsFunction
(String function, elemental.json.JsonObject resultJson) Execute JavaScript function with theresultJson
passed.void
Clears the chart color palette of all colors.protected ChartOptions
protected JmixChartSerializer
getAria()
getBrush()
getGrids()
elemental.json.JsonValue
getPolar()
getRadar()
protected com.vaadin.flow.shared.Registration
getRemovalCallback
(String eventName, Class<? extends com.vaadin.flow.component.ComponentEvent<?>> eventClass) List<AbstractSeries<?>>
<S extends AbstractSeries<S>>
S<S extends AbstractSeries<S>>
SgetSeriesOrNull
(String seriesId) getTitle()
getXAxes()
getYAxes()
protected void
protected void
protected void
onAttach
(com.vaadin.flow.component.AttachEvent attachEvent) protected void
protected void
onDetach
(com.vaadin.flow.component.DetachEvent detachEvent) protected void
performIncrementalUpdateChartDataSet
(com.vaadin.flow.internal.ExecutionContext context) protected void
performUpdateChartData
(com.vaadin.flow.internal.ExecutionContext context) protected void
performUpdateChartOptions
(com.vaadin.flow.internal.ExecutionContext context) protected void
ready()
void
removeAxis
(XAxis axis) Removes an existingXAxis
from the chart options.void
removeDataZoom
(AbstractDataZoom<?> dataZoom) Removes an existingAbstractDataZoom
from the chart options.void
removeGrid
(Grid gird) Removes an existingGrid
from the chart options.void
removeSeries
(AbstractSeries<?> series) Removes an existing series from the chart options.void
removeVisualMap
(AbstractVisualMap<?> visualMap) Removes an existingAbstractVisualMap
from the chart options.void
removeYAxis
(YAxis axis) Removes an existingYAxis
from the chart options.protected <T extends DataItem>
voidprotected void
protected void
void
setAngleAxis
(AngleAxis axis) Sets aAngleAxis
of polar coordinate to the chart options or replaces existing one.void
setAnimation
(Boolean animation) Sets the animation of the chart.void
setAnimationDelay
(Integer animationDelay) Sets a delay before updating the first draw animation.void
setAnimationDelayUpdate
(Integer animationDelayUpdate) Sets a delay before updating animation.void
setAnimationDuration
(Integer animationDuration) Sets a duration of the first draw animation.void
setAnimationDurationUpdate
(Integer animationDurationUpdate) Sets a time for animation to complete.void
setAnimationEasing
(String animationEasing) Sets an animation easing method used for the first draw animation.void
setAnimationEasingUpdate
(String animationEasingUpdate) Sets an animation easing method used for update animation.void
setAnimationThreshold
(Integer animationThreshold) Sets a graphic number threshold to animation.void
Sets aAria
to the chart options or replaces existing one.void
setAxisPointer
(AxisPointer axisPointer) Sets aAxisPointer
to the chart options or replaces existing one.void
setBackgroundColor
(Color backgroundColor) Sets a background color for the chart or replaces existing one.void
setBlendMode
(ChartOptions.BlendMode blendMode) Sets the type of compositing operation to apply when drawing a new shape.void
Sets aBrush
to the chart options or replaces existing one.void
setColorPalette
(Color... palette) Sets a color list of palette for the chart.void
setDataSet
(DataSet dataSet) Sets aDataSet
to the chart options or replaces existing one.void
setHoverLayerThreshold
(Integer hoverLayerThreshold) Sets the number of elements when exceeded, a separate hover layer is used to render hovered elements.void
setLegend
(AbstractLegend<?> legend) Sets aAbstractLegend
to the chart options or replaces existing one.void
setNativeJson
(String json) Sets additional JSON options as a string.void
Sets aPolar
to the chart options or replaces existing one.void
Sets aRadar
to the chart options or replaces existing one.void
setRadiusAxis
(RadiusAxis axis) Sets aRadiusAxis
of polar coordinate to the chart options or replaces existing one.void
setRenderer
(ChartRenderer renderer) Sets the renderer type of the chart.void
setStateAnimation
(ChartOptions.StateAnimation stateAnimation) Sets aChartOptions.StateAnimation
for the chart.void
setTextStyle
(TextStyle textStyle) Sets a globalTextStyle
for the chart or replaces existing one.void
Sets aTitle
to the chart options or replaces existing one.void
setToolbox
(Toolbox toolbox) Sets aToolbox
to the chart options or replaces existing one.void
setTooltip
(Tooltip tooltip) Sets a globalTooltip
options of the chart or replaces existing one.void
Sets the use of UTC in display.Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
Methods inherited from interface com.vaadin.flow.component.HasElement
getElement
Methods inherited from interface com.vaadin.flow.component.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
Methods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
PROPERTY_RENDERER
- See Also:
-
PROPERTY_RENDERER_CHANGED_EVENT
- See Also:
-
options
-
serializer
-
synchronizeChartOptionsExecution
protected com.vaadin.flow.internal.StateTree.ExecutionRegistration synchronizeChartOptionsExecution -
synchronizeChartDataExecution
protected com.vaadin.flow.internal.StateTree.ExecutionRegistration synchronizeChartDataExecution -
synchronizeChartIncrementalUpdateDataExecution
protected com.vaadin.flow.internal.StateTree.ExecutionRegistration synchronizeChartIncrementalUpdateDataExecution -
clientReady
protected volatile boolean clientReady -
functions
-
eventRegistrations
-
changedItems
-
dataItemKeys
-
-
Constructor Details
-
JmixChart
public JmixChart()
-
-
Method Details
-
initComponent
protected void initComponent() -
setNativeJson
Sets additional JSON options as a string. This JSON can override options loaded from XML or from component Java API if they overlap.
Example of usingnativeJson
:<charts:chart height="100%" width="100%"> <charts:title text="Title"/> <charts:nativeJson> <![CDATA[ { "title": { "subtext": 'Subtitle' } } ]]> </charts:nativeJson> </charts:chart>
- Parameters:
json
- additional JSON options
-
getNativeJson
@Nullable public elemental.json.JsonValue getNativeJson()- Returns:
- additional JSON options as a
JsonValue
-
addSeries
Adds a series to the chart options.- Parameters:
series
- series to add- See Also:
-
removeSeries
Removes an existing series from the chart options.- Parameters:
series
- series to remove
-
getSeries
- Returns:
- immutable list of added series
-
getSeriesOrNull
- Type Parameters:
S
- series class- Parameters:
seriesId
- ID of the series to find- Returns:
- the series with the provided ID if it exists,
null
otherwise
-
getSeries
- Type Parameters:
S
- series class- Parameters:
seriesId
- ID of the series to find- Returns:
- the series with the provided ID
- Throws:
IllegalArgumentException
- when chart doesn't contain a series with the provided ID
-
addXAxis
Adds aXAxis
in cartesian(rectangular) coordinate to the chart options.- Parameters:
axis
- axis to add
-
removeAxis
Removes an existingXAxis
from the chart options.- Parameters:
axis
- axis to remove
-
getXAxes
- Returns:
- immutable list of added XAxes
-
addYAxis
Adds aYAxis
in cartesian(rectangular) coordinate to the chart options.- Parameters:
axis
- axis to add
-
removeYAxis
Removes an existingYAxis
from the chart options.- Parameters:
axis
- axis to remove
-
getYAxes
- Returns:
- immutable list of added YAxes
-
setRadiusAxis
Sets aRadiusAxis
of polar coordinate to the chart options or replaces existing one.- Parameters:
axis
- axis to set
-
getRadiusAxis
- Returns:
- current
RadiusAxis
-
setAngleAxis
Sets aAngleAxis
of polar coordinate to the chart options or replaces existing one.- Parameters:
axis
- axis to set
-
getAngleAxis
- Returns:
- current
AngleAxis
-
addGrid
Adds aGrid
to the chart options. Grid options is used to draw a grid in rectangular coordinate. In a single grid, at most two X and Y axes each is allowed.LineSeries
,BarSeries
, andScatterSeries
(EffectScatterSeries
) can be drawn in the grid.- Parameters:
grid
- grid to add
-
removeGrid
Removes an existingGrid
from the chart options.- Parameters:
gird
- grid to remove
-
getGrids
- Returns:
- immutable list of added grids
-
getDataZoom
- Returns:
- immutable list of added data zooms
-
addDataZoom
Adds aAbstractDataZoom
component witch used for zooming a specific area in the chart.- Parameters:
dataZoom
- data zoom to add- See Also:
-
removeDataZoom
Removes an existingAbstractDataZoom
from the chart options.- Parameters:
dataZoom
- data zoom to remove
-
getTitle
- Returns:
- title component of the chart
-
setTitle
Sets aTitle
to the chart options or replaces existing one.- Parameters:
title
- title to add
-
getLegend
- Returns:
- legend component of the chart
-
setLegend
Sets aAbstractLegend
to the chart options or replaces existing one. Legend component shows symbol, color and name of different series. You can click legends to toggle displaying series in the chart.- Parameters:
legend
- legend to add- See Also:
-
getTooltip
- Returns:
- global tooltip component of the chart
-
setTooltip
Sets a globalTooltip
options of the chart or replaces existing one. Tooltip can be configured on different places.- Parameters:
tooltip
- global tooltip to set- See Also:
-
getToolbox
- Returns:
- toolbox of the chart
-
setToolbox
Sets aToolbox
to the chart options or replaces existing one. Toolbox is a group of utility tools, which includes different features.- Parameters:
toolbox
- toolbox to set
-
getAxisPointer
- Returns:
- global axis pointer of the chart
-
setAxisPointer
Sets aAxisPointer
to the chart options or replaces existing one. AxisPointer is a tool for displaying reference line and axis value under mouse pointer.- Parameters:
axisPointer
- axis pointer to add
-
getPolar
- Returns:
- polar options of the chart
-
setPolar
Sets aPolar
to the chart options or replaces existing one. Polar coordinate can be used inScatterSeries
andLineSeries
. Every polar coordinate has anAngleAxis
and aRadiusAxis
.- Parameters:
polar
- radar to add
-
getRadar
- Returns:
- radar options of the chart
-
setRadar
Sets aRadar
to the chart options or replaces existing one. Radar chart coordinate is different from polar coordinate, in that every axis indicator of the radar chart coordinate is an individual dimension.Radar.Indicator
are required to be displayed.- Parameters:
radar
- radar to set
-
getDataSet
- Returns:
- data set of the chart
-
setDataSet
Sets aDataSet
to the chart options or replaces existing one. Data set is the main data provider for the chart. All series added to the chart will use the data set. The only series that requires its own data set is theGaugeSeries
.- Parameters:
dataSet
- data set to set
-
getAria
- Returns:
- aria of the chart
-
setAria
Sets aAria
to the chart options or replaces existing one. Aria is options for the Accessible Rich Internet Applications Suite, which is dedicated to making web content and web applications accessible.- Parameters:
aria
- aria to set
-
getBrush
- Returns:
- brush of the chart
-
setBrush
Sets aBrush
to the chart options or replaces existing one. Brush is an area-selecting component, with which user can select part of data from a chart to display in detail.- Parameters:
brush
- brush to set
-
getVisualMap
- Returns:
- immutable list of added visual maps
-
addVisualMap
Adds aAbstractVisualMap
to the chart options. Visual map is a type of component for visual encoding, which maps the data to visual channels.- Parameters:
visualMap
- visual map to add- See Also:
-
removeVisualMap
Removes an existingAbstractVisualMap
from the chart options.- Parameters:
visualMap
- visual map to remove
-
getColorPalette
- Returns:
- immutable list of colors in the charts color palette
-
clearColorPalette
public void clearColorPalette()Clears the chart color palette of all colors. -
getBackgroundColor
- Returns:
- background color of the chart
-
getTextStyle
- Returns:
- global font style of the chart
-
getAnimation
- Returns:
true
if animation if enabled,false
otherwise
-
setAnimation
Sets the animation of the chart. The animation is enabled by default.- Parameters:
animation
- whether to enable the animation
-
getAnimationThreshold
- Returns:
- graphic number threshold to animation
-
setAnimationThreshold
Sets a graphic number threshold to animation. Animation will be disabled when graphic number is larger than threshold.- Parameters:
animationThreshold
- number threshold to animation
-
getAnimationDuration
- Returns:
- duration of the first draw animation in milliseconds
-
setAnimationDuration
Sets a duration of the first draw animation.- Parameters:
animationDuration
- animation duration to set in milliseconds
-
getAnimationEasing
- Returns:
- easing method used for the first draw animation
-
setAnimationEasing
Sets an animation easing method used for the first draw animation.- Parameters:
animationEasing
- easing method to use- See Also:
-
getAnimationDelay
- Returns:
- delay before updating the first draw animation in milliseconds
-
setAnimationDelay
Sets a delay before updating the first draw animation.- Parameters:
animationDelay
- delay to set in milliseconds
-
getAnimationDurationUpdate
- Returns:
- time for animation to complete in milliseconds
-
setAnimationDurationUpdate
Sets a time for animation to complete.- Parameters:
animationDurationUpdate
- time to set in milliseconds
-
getAnimationEasingUpdate
- Returns:
- easing method used for update animation
-
setAnimationEasingUpdate
Sets an animation easing method used for update animation.- Parameters:
animationEasingUpdate
- easing method to use- See Also:
-
getAnimationDelayUpdate
- Returns:
- delay before updating animation in milliseconds
-
setAnimationDelayUpdate
Sets a delay before updating animation.- Parameters:
animationDelayUpdate
- delay to set in milliseconds
-
getStateAnimation
- Returns:
- state switching animation configurations
-
setStateAnimation
Sets aChartOptions.StateAnimation
for the chart.- Parameters:
stateAnimation
- configuration to set
-
getBlendMode
- Returns:
- the type of compositing operation to apply when drawing a new shape
-
setBlendMode
Sets the type of compositing operation to apply when drawing a new shape. Blend mode issource-over
by default.- Parameters:
blendMode
- blend mode to set- See Also:
-
getHoverLayerThreshold
- Returns:
- the number of elements when exceeded, a separate hover layer is used to render hovered elements
-
setHoverLayerThreshold
Sets the number of elements when exceeded, a separate hover layer is used to render hovered elements.- Parameters:
hoverLayerThreshold
- number of elements to set
-
getUseUtc
- Returns:
true
if UTC is used in display,false
otherwise
-
setUseUtc
Sets the use of UTC in display.-
true
: whenaxis.type
is'time'
, ticks is determined according to UTC, andaxisLabel
andtooltip
use UTC by default. -
false
: whenaxis.type
is'time'
, ticks is determined according to local time, andaxisLabel
andtooltip
use local time by default.
- Parameters:
useUtc
- whether to use UTC in display
-
-
getRenderer
- Returns:
- the current chart component renderer type
-
setRenderer
Sets the renderer type of the chart. The renderer type isChartRenderer.CANVAS
by default.- Parameters:
renderer
- renderer type to be applied- See Also:
-
initChartOptionsChangeListener
protected void initChartOptionsChangeListener() -
onChartOptionsChange
-
requestUpdateChartOptions
protected void requestUpdateChartOptions() -
requestUpdateChartDataSet
protected void requestUpdateChartDataSet() -
requestIncrementalUpdateChartDataSet
protected <T extends DataItem> void requestIncrementalUpdateChartDataSet(ChartItems.ItemSetChangeEvent<T> event) -
performUpdateChartOptions
protected void performUpdateChartOptions(com.vaadin.flow.internal.ExecutionContext context) -
performUpdateChartData
protected void performUpdateChartData(com.vaadin.flow.internal.ExecutionContext context) -
performIncrementalUpdateChartDataSet
protected void performIncrementalUpdateChartDataSet(com.vaadin.flow.internal.ExecutionContext context) -
onAttach
protected void onAttach(com.vaadin.flow.component.AttachEvent attachEvent) - Overrides:
onAttach
in classcom.vaadin.flow.component.Component
-
ready
@ClientCallable protected void ready() -
onDetach
protected void onDetach(com.vaadin.flow.component.DetachEvent detachEvent) - Overrides:
onDetach
in classcom.vaadin.flow.component.Component
-
callPendingJsFunction
Execute JavaScript function with theresultJson
passed. Execution will be delayed till the client-side is ready.- Parameters:
function
- JavaScript function to executeresultJson
- resultJson
-
callJsFunction
-
addChangedDataItems
protected <T extends DataItem> void addChangedDataItems(ChartItems.DataChangeOperation operation, Collection<T> items) -
addClickEventListener
public com.vaadin.flow.shared.Registration addClickEventListener(com.vaadin.flow.component.ComponentEventListener<ChartClickEvent> listener) -
addDoubleClickEventListener
public com.vaadin.flow.shared.Registration addDoubleClickEventListener(com.vaadin.flow.component.ComponentEventListener<ChartDoubleClickEvent> listener) -
addMouseDownEventListener
public com.vaadin.flow.shared.Registration addMouseDownEventListener(com.vaadin.flow.component.ComponentEventListener<ChartMouseDownEvent> listener) -
addMouseMoveEventListener
public com.vaadin.flow.shared.Registration addMouseMoveEventListener(com.vaadin.flow.component.ComponentEventListener<ChartMouseMoveEvent> listener) -
addMouseOutEventListener
public com.vaadin.flow.shared.Registration addMouseOutEventListener(com.vaadin.flow.component.ComponentEventListener<ChartMouseOutEvent> listener) -
addMouseOverEventListener
public com.vaadin.flow.shared.Registration addMouseOverEventListener(com.vaadin.flow.component.ComponentEventListener<ChartMouseOverEvent> listener) -
addMouseUpEventListener
public com.vaadin.flow.shared.Registration addMouseUpEventListener(com.vaadin.flow.component.ComponentEventListener<ChartMouseUpEvent> listener) -
addGlobalOutEventListener
public com.vaadin.flow.shared.Registration addGlobalOutEventListener(com.vaadin.flow.component.ComponentEventListener<ChartGlobalOutEvent> listener) -
addLegendSelectChangedEventListener
public com.vaadin.flow.shared.Registration addLegendSelectChangedEventListener(com.vaadin.flow.component.ComponentEventListener<ChartLegendSelectChangedEvent> listener) -
addLegendSelectAllEventListener
public com.vaadin.flow.shared.Registration addLegendSelectAllEventListener(com.vaadin.flow.component.ComponentEventListener<ChartLegendSelectAllEvent> listener) -
addLegendInverseSelectEventListener
public com.vaadin.flow.shared.Registration addLegendInverseSelectEventListener(com.vaadin.flow.component.ComponentEventListener<ChartLegendInverseSelectEvent> listener) -
addLegendScrollEventListener
public com.vaadin.flow.shared.Registration addLegendScrollEventListener(com.vaadin.flow.component.ComponentEventListener<ChartLegendScrollEvent> listener) -
addDataZoomEventListener
public com.vaadin.flow.shared.Registration addDataZoomEventListener(com.vaadin.flow.component.ComponentEventListener<ChartDataZoomEvent> listener) -
addRestoreEventListener
public com.vaadin.flow.shared.Registration addRestoreEventListener(com.vaadin.flow.component.ComponentEventListener<ChartRestoreEvent> listener) -
addMagicTypeChangedEventListener
public com.vaadin.flow.shared.Registration addMagicTypeChangedEventListener(com.vaadin.flow.component.ComponentEventListener<ChartMagicTypeChangedEvent> listener) -
addGlobalCursorTakenEventListener
public com.vaadin.flow.shared.Registration addGlobalCursorTakenEventListener(com.vaadin.flow.component.ComponentEventListener<ChartGlobalCursorTakenEvent> listener) -
addRenderedEventListener
public com.vaadin.flow.shared.Registration addRenderedEventListener(com.vaadin.flow.component.ComponentEventListener<ChartRenderedEvent> listener) -
addFinishedEventListener
public com.vaadin.flow.shared.Registration addFinishedEventListener(com.vaadin.flow.component.ComponentEventListener<ChartFinishedEvent> listener) -
getRemovalCallback
-
createChartOptions
-
createSerializer
-