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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.JmixChart
JmixChart.PendingJsFunction -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextFields inherited from class io.jmix.chartsflowui.kit.component.JmixChart
changedItems, clientReady, dataItemKeys, eventRegistrations, functions, options, PROPERTY_RENDERER, PROPERTY_RENDERER_CHANGED_EVENT, serializer, synchronizeChartDataExecution, synchronizeChartIncrementalUpdateDataExecution, synchronizeChartOptionsExecution -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected JmixChartSerializerprotected voidprotected voidvoidsetApplicationContext(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, callJsFunction, callPendingJsFunction, 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, getRenderer, getSeries, getSeries, getSeriesOrNull, getStateAnimation, getTextStyle, getTitle, getToolbox, getTooltip, getUseUtc, getVisualMap, getXAxes, getYAxes, initChartOptionsChangeListener, onAttach, onChartOptionsChange, onDetach, performIncrementalUpdateChartDataSet, performUpdateChartData, performUpdateChartOptions, ready, 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, setRenderer, setStateAnimation, setTextStyle, setTitle, setToolbox, setTooltip, setUseUtcMethods 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, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods 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, setWidthFullMethods 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:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
initComponent
protected void initComponent()- Overrides:
initComponentin classJmixChart
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSetin 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:
createSerializerin classJmixChart
-