Class ChartOptions

java.lang.Object
io.jmix.chartsflowui.kit.component.model.ChartObservableObject
io.jmix.chartsflowui.kit.component.model.ChartOptions
All Implemented Interfaces:
Serializable

public class ChartOptions extends ChartObservableObject
Basic chart options.
See Also:
  • Field Details

    • title

      protected Title title
    • legend

      protected AbstractLegend<?> legend
    • tooltip

      protected Tooltip tooltip
    • toolbox

      protected Toolbox toolbox
    • axisPointer

      protected AxisPointer axisPointer
    • dataSet

      protected DataSet dataSet
    • aria

      protected Aria aria
    • brush

      protected Brush brush
    • visualMap

      protected List<AbstractVisualMap<?>> visualMap
    • chart

      protected final JmixChart chart
    • nativeJson

      protected elemental.json.JsonValue nativeJson
    • parser

      protected elemental.json.impl.JreJsonFactory parser
    • seriesList

      protected List<AbstractSeries<?>> seriesList
    • xAxes

      protected List<XAxis> xAxes
    • yAxes

      protected List<YAxis> yAxes
    • radiusAxis

      protected RadiusAxis radiusAxis
    • angleAxis

      protected AngleAxis angleAxis
    • grids

      protected List<Grid> grids
    • dataZoom

      protected List<AbstractDataZoom<?>> dataZoom
    • polar

      protected Polar polar
    • radar

      protected Radar radar
    • colorPalette

      protected List<Color> colorPalette
    • backgroundColor

      protected Color backgroundColor
    • textStyle

      protected TextStyle textStyle
    • animation

      protected Boolean animation
    • animationThreshold

      protected Integer animationThreshold
    • animationDuration

      protected Integer animationDuration
    • animationEasing

      protected String animationEasing
    • animationDelay

      protected Integer animationDelay
    • animationDurationUpdate

      protected Integer animationDurationUpdate
    • animationEasingUpdate

      protected String animationEasingUpdate
    • animationDelayUpdate

      protected Integer animationDelayUpdate
    • stateAnimation

      protected ChartOptions.StateAnimation stateAnimation
    • blendMode

      protected ChartOptions.BlendMode blendMode
    • hoverLayerThreshold

      protected Integer hoverLayerThreshold
    • useUtc

      protected Boolean useUtc
  • Constructor Details

    • ChartOptions

      public ChartOptions(JmixChart chart)
  • Method Details

    • getNativeJson

      @Nullable public elemental.json.JsonValue getNativeJson()
    • getNativeJsonString

      @Nullable protected String getNativeJsonString()
    • setNativeJson

      public void setNativeJson(String nativeJson)
    • addSeries

      public void addSeries(AbstractSeries<?> series)
    • removeSeries

      public void removeSeries(AbstractSeries<?> series)
    • getSeries

      @Nullable public List<AbstractSeries<?>> getSeries()
    • addXAxis

      public void addXAxis(XAxis axis)
    • removeXAxis

      public void removeXAxis(XAxis axis)
    • getXAxes

      @Nullable public List<XAxis> getXAxes()
    • addYAxis

      public void addYAxis(YAxis Axis)
    • removeYAxis

      public void removeYAxis(YAxis Axis)
    • getYAxes

      @Nullable public List<YAxis> getYAxes()
    • setRadiusAxis

      public void setRadiusAxis(RadiusAxis axis)
    • getRadiusAxis

      @Nullable public RadiusAxis getRadiusAxis()
    • setAngleAxis

      public void setAngleAxis(AngleAxis axis)
    • getAngleAxis

      @Nullable public AngleAxis getAngleAxis()
    • addGrid

      public void addGrid(Grid grid)
    • removeGrid

      public void removeGrid(Grid grid)
    • getGrids

      @Nullable public List<Grid> getGrids()
    • addDataZoom

      public void addDataZoom(AbstractDataZoom<?> dataZoom)
    • removeDataZoom

      public void removeDataZoom(AbstractDataZoom<?> dataZoom)
    • getDataZoom

      @Nullable public List<AbstractDataZoom<?>> getDataZoom()
    • getTitle

      @Nullable public Title getTitle()
    • setTitle

      public void setTitle(Title title)
    • getLegend

      @Nullable public AbstractLegend<?> getLegend()
    • setLegend

      public void setLegend(AbstractLegend<?> legend)
    • getTooltip

      @Nullable public Tooltip getTooltip()
    • setTooltip

      public void setTooltip(Tooltip tooltip)
    • getToolbox

      @Nullable public Toolbox getToolbox()
    • setToolbox

      public void setToolbox(Toolbox toolbox)
    • getAxisPointer

      @Nullable public AxisPointer getAxisPointer()
    • setAxisPointer

      public void setAxisPointer(AxisPointer axisPointer)
    • getPolar

      @Nullable public Polar getPolar()
    • setPolar

      public void setPolar(Polar polar)
    • getRadar

      @Nullable public Radar getRadar()
    • setRadar

      public void setRadar(Radar radar)
    • getDataSet

      @Nullable public DataSet getDataSet()
    • setDataSet

      public void setDataSet(DataSet dataSet)
    • getAria

      @Nullable public Aria getAria()
    • setAria

      public void setAria(Aria aria)
    • getBrush

      @Nullable public Brush getBrush()
    • setBrush

      public void setBrush(Brush brush)
    • addVisualMap

      public void addVisualMap(AbstractVisualMap<?> visualMap)
    • removeVisualMap

      public void removeVisualMap(AbstractVisualMap<?> visualMap)
    • getVisualMap

      @Nullable public List<AbstractVisualMap<?>> getVisualMap()
    • getColorPalette

      @Nullable public List<Color> getColorPalette()
    • setColorPalette

      public void setColorPalette(Color... palette)
    • getBackgroundColor

      @Nullable public Color getBackgroundColor()
    • setBackgroundColor

      public void setBackgroundColor(Color backgroundColor)
    • addColorToPalette

      public void addColorToPalette(Color color)
    • clearColorPalette

      public void clearColorPalette()
    • getTextStyle

      @Nullable public TextStyle getTextStyle()
    • setTextStyle

      public void setTextStyle(TextStyle textStyle)
    • getAnimation

      @Nullable public Boolean getAnimation()
    • setAnimation

      public void setAnimation(Boolean animation)
    • getAnimationThreshold

      @Nullable public Integer getAnimationThreshold()
    • setAnimationThreshold

      public void setAnimationThreshold(Integer animationThreshold)
    • getAnimationDuration

      @Nullable public Integer getAnimationDuration()
    • setAnimationDuration

      public void setAnimationDuration(Integer animationDuration)
    • getAnimationEasing

      @Nullable public String getAnimationEasing()
    • setAnimationEasing

      public void setAnimationEasing(String animationEasing)
    • getAnimationDelay

      @Nullable public Integer getAnimationDelay()
    • setAnimationDelay

      public void setAnimationDelay(Integer animationDelay)
    • getAnimationDurationUpdate

      @Nullable public Integer getAnimationDurationUpdate()
    • setAnimationDurationUpdate

      public void setAnimationDurationUpdate(Integer animationDurationUpdate)
    • getAnimationEasingUpdate

      @Nullable public String getAnimationEasingUpdate()
    • setAnimationEasingUpdate

      public void setAnimationEasingUpdate(String animationEasingUpdate)
    • getAnimationDelayUpdate

      @Nullable public Integer getAnimationDelayUpdate()
    • setAnimationDelayUpdate

      public void setAnimationDelayUpdate(Integer animationDelayUpdate)
    • getStateAnimation

      @Nullable public ChartOptions.StateAnimation getStateAnimation()
    • setStateAnimation

      public void setStateAnimation(ChartOptions.StateAnimation stateAnimation)
    • getBlendMode

      @Nullable public ChartOptions.BlendMode getBlendMode()
    • setBlendMode

      public void setBlendMode(ChartOptions.BlendMode blendMode)
    • getHoverLayerThreshold

      @Nullable public Integer getHoverLayerThreshold()
    • setHoverLayerThreshold

      public void setHoverLayerThreshold(Integer hoverLayerThreshold)
    • getUseUtc

      @Nullable public Boolean getUseUtc()
    • setUseUtc

      public void setUseUtc(Boolean useUtc)
    • markAsDirtyInDepth

      public void markAsDirtyInDepth()
      Overrides:
      markAsDirtyInDepth in class ChartObservableObject
    • unmarkDirtyInDepth

      public void unmarkDirtyInDepth()
      Overrides:
      unmarkDirtyInDepth in class ChartObservableObject
    • setChartObjectChangeListener

      public void setChartObjectChangeListener(Consumer<ChartObservableObject.ObjectChangeEvent> listener)
      Overrides:
      setChartObjectChangeListener in class ChartObservableObject
    • isDirtyInDepth

      public boolean isDirtyInDepth()
      Overrides:
      isDirtyInDepth in class ChartObservableObject