Package io.jmix.chartsflowui.component
Class Chart
java.lang.Object
com.vaadin.flow.component.Component
io.jmix.chartsflowui.kit.component.JmixChart
io.jmix.chartsflowui.component.Chart
- 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
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationContextAware
public class Chart
extends JmixChart
implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
Chart is a component for showing data in graphical form. Allows to configure axes, series, legend, tooltip,
data source and other options. For more detailed information, see the documentation.
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
Fields inherited from class io.jmix.chartsflowui.kit.component.JmixChart
changedItems, dataItemKeys, eventRegistrations, options, serializer, synchronizeChartDataExecution, synchronizeChartIncrementalUpdateDataExecution, synchronizeChartOptionsExecution
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected JmixChartSerializer
protected void
protected void
void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) withAngleAxis
(AngleAxis axis) withAnimation
(Boolean animation) withAnimationDelay
(Integer animationDelay) withAnimationDelayUpdate
(Integer animationDelayUpdate) withAnimationDuration
(Integer animationDuration) withAnimationDurationUpdate
(Integer animationDurationUpdate) withAnimationEasing
(String animationEasing) withAnimationEasingUpdate
(String animationEasingUpdate) withAnimationThreshold
(Integer animationThreshold) withAxisPointer
(AxisPointer axisPointer) withBackgroundColor
(Color backgroundColor) withBlendMode
(ChartOptions.BlendMode blendMode) withColorToPalette
(Color... color) withDataSet
(DataSet dataSet) withDataZoom
(AbstractDataZoom<?> dataZoom) withHoverLayerThreshold
(Integer hoverLayerThreshold) withLegend
(AbstractLegend<?> legend) withNativeJson
(String nativeJson) withRadiusAxis
(RadiusAxis axis) withSeries
(AbstractSeries<?>... series) withStateAnimation
(ChartOptions.StateAnimation stateAnimation) withTextStyle
(TextStyle textStyle) withToolbox
(Toolbox toolbox) withTooltip
(Tooltip tooltip) withUseUtc
(Boolean useUtc) withVisualMap
(AbstractVisualMap<?> visualMap) Methods inherited from class io.jmix.chartsflowui.kit.component.JmixChart
addChangedDataItems, addClickEventListener, addColorToPalette, addDataZoom, addDataZoomEventListener, addDoubleClickEventListener, addFinishedEventListener, addGlobalCursorTakenEventListener, addGlobalOutEventListener, addGrid, addLegendInverseSelectEventListener, addLegendScrollEventListener, addLegendSelectAllEventListener, addLegendSelectChangedEventListener, addMagicTypeChangedEventListener, addMouseDownEventListener, addMouseMoveEventListener, addMouseOutEventListener, addMouseOverEventListener, addMouseUpEventListener, addRenderedEventListener, addRestoreEventListener, addSeries, addVisualMap, addXAxis, addYAxis, clearColorPalette, createChartOptions, getAngleAxis, getAnimation, getAnimationDelay, getAnimationDelayUpdate, getAnimationDuration, getAnimationDurationUpdate, getAnimationEasing, getAnimationEasingUpdate, getAnimationThreshold, getAria, getAxisPointer, getBackgroundColor, getBlendMode, getBrush, getColorPalette, getDataSet, getDataZoom, getGrids, getHoverLayerThreshold, getLegend, getNativeJson, getPolar, getRadar, getRadiusAxis, getRemovalCallback, getSeries, getSeries, getSeriesOrNull, getStateAnimation, getTextStyle, getTitle, getToolbox, getTooltip, getUseUtc, getVisualMap, getXAxes, getYAxes, initChartOptionsChangeListener, onAttach, onChartOptionsChange, performIncrementalUpdateChartDataSet, performUpdateChartData, performUpdateChartOptions, removeAxis, removeDataZoom, removeGrid, removeSeries, removeVisualMap, removeYAxis, requestIncrementalUpdateChartDataSet, requestUpdateChartDataSet, requestUpdateChartOptions, setAngleAxis, setAnimation, setAnimationDelay, setAnimationDelayUpdate, setAnimationDuration, setAnimationDurationUpdate, setAnimationEasing, setAnimationEasingUpdate, setAnimationThreshold, setAria, setAxisPointer, setBackgroundColor, setBlendMode, setBrush, setColorPalette, setDataSet, setHoverLayerThreshold, setLegend, setNativeJson, setPolar, setRadar, setRadiusAxis, setStateAnimation, setTextStyle, setTitle, setToolbox, setTooltip, setUseUtc
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, onDetach, 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
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
dataItemKeyMapper
-
-
Constructor Details
-
Chart
public Chart()
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
initComponent
protected void initComponent()- Overrides:
initComponent
in classJmixChart
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
withTitle
-
withLegend
-
withGrid
-
withXAxis
-
withYAxis
-
withPolar
-
withRadiusAxis
-
withAngleAxis
-
withRadar
-
withDataZoom
-
withTooltip
-
withAxisPointer
-
withToolbox
-
withDataSet
-
withAria
-
withBrush
-
withVisualMap
-
withSeries
-
withAnimation
-
withAnimationThreshold
-
withAnimationDuration
-
withAnimationEasing
-
withAnimationDelay
-
withAnimationDurationUpdate
-
withAnimationEasingUpdate
-
withAnimationDelayUpdate
-
withStateAnimation
-
withBlendMode
-
withHoverLayerThreshold
-
withUseUtc
-
withNativeJson
-
initDataItemKeyMapper
protected void initDataItemKeyMapper() -
createSerializer
- Overrides:
createSerializer
in classJmixChart
-