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

      public elemental.json.JsonValue getNativeJson()
    • getNativeJsonString

      protected String getNativeJsonString()
    • setNativeJson

      public void setNativeJson(String nativeJson)
    • addSeries

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

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

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

      public void addXAxis(XAxis axis)
    • removeXAxis

      public void removeXAxis(XAxis axis)
    • getXAxes

      public List<XAxis> getXAxes()
    • addYAxis

      public void addYAxis(YAxis Axis)
    • removeYAxis

      public void removeYAxis(YAxis Axis)
    • getYAxes

      public List<YAxis> getYAxes()
    • setRadiusAxis

      public void setRadiusAxis(RadiusAxis axis)
    • getRadiusAxis

      public RadiusAxis getRadiusAxis()
    • setAngleAxis

      public void setAngleAxis(AngleAxis axis)
    • getAngleAxis

      public AngleAxis getAngleAxis()
    • addGrid

      public void addGrid(Grid grid)
    • removeGrid

      public void removeGrid(Grid grid)
    • getGrids

      public List<Grid> getGrids()
    • addDataZoom

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

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

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

      public Title getTitle()
    • setTitle

      public void setTitle(Title title)
    • getLegend

      public AbstractLegend<?> getLegend()
    • setLegend

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

      public Tooltip getTooltip()
    • setTooltip

      public void setTooltip(Tooltip tooltip)
    • getToolbox

      public Toolbox getToolbox()
    • setToolbox

      public void setToolbox(Toolbox toolbox)
    • getAxisPointer

      public AxisPointer getAxisPointer()
    • setAxisPointer

      public void setAxisPointer(AxisPointer axisPointer)
    • getPolar

      public Polar getPolar()
    • setPolar

      public void setPolar(Polar polar)
    • getRadar

      public Radar getRadar()
    • setRadar

      public void setRadar(Radar radar)
    • getDataSet

      public DataSet getDataSet()
    • setDataSet

      public void setDataSet(DataSet dataSet)
    • getAria

      public Aria getAria()
    • setAria

      public void setAria(Aria aria)
    • getBrush

      public Brush getBrush()
    • setBrush

      public void setBrush(Brush brush)
    • addVisualMap

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

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

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

      public List<Color> getColorPalette()
    • setColorPalette

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

      public Color getBackgroundColor()
    • setBackgroundColor

      public void setBackgroundColor(Color backgroundColor)
    • addColorToPalette

      public void addColorToPalette(Color color)
    • clearColorPalette

      public void clearColorPalette()
    • getTextStyle

      public TextStyle getTextStyle()
    • setTextStyle

      public void setTextStyle(TextStyle textStyle)
    • getAnimation

      public Boolean getAnimation()
    • setAnimation

      public void setAnimation(Boolean animation)
    • getAnimationThreshold

      public Integer getAnimationThreshold()
    • setAnimationThreshold

      public void setAnimationThreshold(Integer animationThreshold)
    • getAnimationDuration

      public Integer getAnimationDuration()
    • setAnimationDuration

      public void setAnimationDuration(Integer animationDuration)
    • getAnimationEasing

      public String getAnimationEasing()
    • setAnimationEasing

      public void setAnimationEasing(String animationEasing)
    • getAnimationDelay

      public Integer getAnimationDelay()
    • setAnimationDelay

      public void setAnimationDelay(Integer animationDelay)
    • getAnimationDurationUpdate

      public Integer getAnimationDurationUpdate()
    • setAnimationDurationUpdate

      public void setAnimationDurationUpdate(Integer animationDurationUpdate)
    • getAnimationEasingUpdate

      public String getAnimationEasingUpdate()
    • setAnimationEasingUpdate

      public void setAnimationEasingUpdate(String animationEasingUpdate)
    • getAnimationDelayUpdate

      public Integer getAnimationDelayUpdate()
    • setAnimationDelayUpdate

      public void setAnimationDelayUpdate(Integer animationDelayUpdate)
    • getStateAnimation

      public ChartOptions.StateAnimation getStateAnimation()
    • setStateAnimation

      public void setStateAnimation(ChartOptions.StateAnimation stateAnimation)
    • getBlendMode

      public ChartOptions.BlendMode getBlendMode()
    • setBlendMode

      public void setBlendMode(ChartOptions.BlendMode blendMode)
    • getHoverLayerThreshold

      public Integer getHoverLayerThreshold()
    • setHoverLayerThreshold

      public void setHoverLayerThreshold(Integer hoverLayerThreshold)
    • getUseUtc

      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