Class Encode
java.lang.Object
io.jmix.chartsflowui.kit.component.model.ChartObservableObject
io.jmix.chartsflowui.kit.component.model.series.Encode
- All Implemented Interfaces:
Serializable
Define what is encoded to for each dimension of data.
Chart example:
Chart example:
<charts:chart id="chart" height="100%" width="100%">
<charts:dataSet>
<charts:source dataContainer="stockDataDc" categoryField="date"
valueFields="open, close, low, high, volume"/>
</charts:dataSet>
// ...
<charts:series>
// Use only the values open, close, low, high for the series.
<charts:candlestick>
<charts:encode x="date" y="open, close, low, high"/>
</charts:candlestick>
// Use only volume value for the series.
<charts:bar>
<charts:encode x="date" y="volume"/>
</charts:bar>
</charts:series>
</charts:chart>
More detailed information is provided in the documentation.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
ChartObservableObject.ObjectChangeEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected String[]
protected String[]
protected String[]
protected String[]
protected String[]
protected String[]
Fields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
children, dirty, listener
-
Constructor Summary
-
Method Summary
Methods inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
addChild, fireChangeEvent, getChildren, isDirty, isDirtyInDepth, markAsDirty, markAsDirtyInDepth, removeChild, setChartObjectChangeListener, unmarkDirtyInDepth
-
Field Details
-
x
-
y
-
radius
-
angle
-
value
-
tooltip
-
-
Constructor Details
-
Encode
public Encode()
-
-
Method Details
-
getX
-
setX
-
getY
-
setY
-
getRadius
-
setRadius
-
getAngle
-
setAngle
-
getValue
-
setValue
-
getTooltip
-
setTooltip
-
withX
-
withY
-
withRadius
-
withAngle
-
withValue
-
withTooltip
-