Class ScatterSeries
java.lang.Object
io.jmix.chartsflowui.kit.component.model.ChartObservableObject
io.jmix.chartsflowui.kit.component.model.series.AbstractSeries<T>
io.jmix.chartsflowui.kit.component.model.series.AbstractAxisAwareSeries<ScatterSeries>
io.jmix.chartsflowui.kit.component.model.series.ScatterSeries
- All Implemented Interfaces:
HasSymbols<ScatterSeries>
,Serializable
public class ScatterSeries
extends AbstractAxisAwareSeries<ScatterSeries>
implements HasSymbols<ScatterSeries>
Scatter (bubble) chart. The scatter series in rectangular coordinate could be used to present
the relation between
X
and Y
. More detailed information is provided in the documentation.- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Base component for scatter elements.static class
Component to configure the blur state.static class
Component to configure the emphasis state.static class
Component to configure label guide line.static class
Component to configure the selection state.Nested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.series.AbstractAxisAwareSeries
AbstractAxisAwareSeries.SeriesLayoutType
Nested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.series.AbstractSeries
AbstractSeries.LabelLayout, AbstractSeries.Tooltip
Nested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
ChartObservableObject.ObjectChangeEvent
Nested classes/interfaces inherited from interface io.jmix.chartsflowui.kit.component.model.shared.HasSymbols
HasSymbols.Symbol, HasSymbols.SymbolType
-
Field Summary
Modifier and TypeFieldDescriptionprotected Boolean
protected Integer
protected Integer
protected String
protected Integer
protected ScatterSeries.Blur
protected Integer
protected Boolean
protected CoordinateSystem
protected String
protected ScatterSeries.Emphasis
protected Integer
protected ItemStyle
protected ScatterSeries.LabelLine
protected Boolean
protected Integer
protected Integer
protected Integer
protected Integer
protected ScatterSeries.Select
protected HasSymbols.Symbol
protected Boolean
protected String[]
protected Integer
protected Integer
protected JsFunction
protected Integer
protected Integer
Fields inherited from class io.jmix.chartsflowui.kit.component.model.series.AbstractAxisAwareSeries
datasetIndex, encode, legendHoverLink, markArea, markLine, markPoint, seriesLayoutBy
Fields inherited from class io.jmix.chartsflowui.kit.component.model.series.AbstractSeries
animationDelay, animationDuration, animationEasing, colorBy, dataGroupId, id, label, labelLayout, name, selectedMode, silent, tooltip, type, z, zLevel
Fields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
children, dirty, listener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBlur()
getClip()
getLarge()
String[]
void
setAnimation
(Boolean animation) void
setAnimationDelayUpdate
(Integer animationDelayUpdate) void
setAnimationDurationUpdate
(Integer animationDurationUpdate) void
setAnimationEasingUpdate
(String animationEasingUpdate) void
setAnimationThreshold
(Integer animationThreshold) void
setBlur
(ScatterSeries.Blur blur) void
setCalendarIndex
(Integer calendarIndex) void
void
setCoordinateSystem
(CoordinateSystem coordinateSystem) void
void
setEmphasis
(ScatterSeries.Emphasis emphasis) void
setGeoIndex
(Integer geoIndex) void
setItemStyle
(ItemStyle itemStyle) void
setLabelLine
(ScatterSeries.LabelLine labelLine) void
void
setLargeThreshold
(Integer largeThreshold) void
setPolarIndex
(Integer polarIndex) void
setProgressive
(Integer progressive) void
setProgressiveThreshold
(Integer progressiveThreshold) void
setSelect
(ScatterSeries.Select select) void
setSymbol
(HasSymbols.SymbolType symbolType) Sets predefined symbol type or replaces an existing one.void
Sets a symbol or replaces an existing one.
Possible values:image://%url%
, example:image://http://example.website/a/b.png
image://%dataURI%
, example:image://data:image/gif;base64,...
path://%svgPathData%
, example:path://M30.9,53.2c16...
void
setSymbolKeepAspect
(Boolean symbolKeepAspect) Sets the keeping of aspects for a symbol.void
setSymbolOffset
(String xOffset, String yOffset) Sets an offset of symbol relative to original position or replaces an existing one.
Possible values: Pixel values:hasSymbols.setSymbolOffset("10", "10");
.void
setSymbolRotate
(Integer symbolRotate) Sets a rotate degree of symbol or replaces an existing one.void
setSymbolSize
(Integer symbolSize) Sets a symbol size or replaces an existing one.void
setSymbolSizeFunction
(JsFunction symbolSizeFunction) Sets a callback function for symbol size or replaces an existing one.void
setSymbolSizeFunction
(String symbolSizeFunction) Sets a callback function for symbol size as string or replaces an existing one.void
setXAxisIndex
(Integer xAxisIndex) void
setYAxisIndex
(Integer yAxisIndex) withAnimation
(Boolean animation) withAnimationDelayUpdate
(Integer animationDelayUpdate) withAnimationDurationUpdate
(Integer animationDurationUpdate) withAnimationEasingUpdate
(String animationEasingUpdate) withAnimationThreshold
(Integer animationThreshold) withBlur
(ScatterSeries.Blur blur) withCalendarIndex
(Integer calendarIndex) withCoordinateSystem
(CoordinateSystem coordinateSystem) withCursor
(String cursor) withEmphasis
(ScatterSeries.Emphasis emphasis) withGeoIndex
(Integer geoIndex) withItemStyle
(ItemStyle itemStyle) withLabelLine
(ScatterSeries.LabelLine labelLine) withLargeThreshold
(Integer largeThreshold) withPolarIndex
(Integer polarIndex) withProgressive
(Integer progressive) withProgressiveThreshold
(Integer progressiveThreshold) withSelect
(ScatterSeries.Select select) withXAxisIndex
(Integer xAxisIndex) withYAxisIndex
(Integer yAxisIndex) Methods inherited from class io.jmix.chartsflowui.kit.component.model.series.AbstractAxisAwareSeries
getDatasetIndex, getEncode, getLegendHoverLink, getMarkArea, getMarkLine, getMarkPoint, getSeriesLayoutBy, setDatasetIndex, setEncode, setLegendHoverLink, setMarkArea, setMarkLine, setMarkPoint, setSeriesLayoutBy, withDatasetIndex, withEncode, withLegendHoverLink, withMarkArea, withMarkLine, withMarkPoint, withSeriesLayoutBy
Methods inherited from class io.jmix.chartsflowui.kit.component.model.series.AbstractSeries
getAnimationDelay, getAnimationDuration, getAnimationEasing, getColorBy, getDataGroupId, getId, getLabel, getLabelLayout, getName, getSelectedMode, getSilent, getTooltip, getType, getZ, getZLevel, setAnimationDelay, setAnimationDuration, setAnimationEasing, setColorBy, setDataGroupId, setId, setLabel, setLabelLayout, setName, setSelectedMode, setSilent, setTooltip, setType, setZ, setZLevel, withAnimationDelay, withAnimationDuration, withAnimationEasing, withColorBy, withDataGroupId, withId, withLabel, withLabelLayout, withName, withSelectedMode, withSilent, withTooltip, withType, withZ, withZLevel
Methods inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
addChild, fireChangeEvent, getChildren, isDirty, isDirtyInDepth, markAsDirty, markAsDirtyInDepth, removeChild, setChartObjectChangeListener, unmarkDirtyInDepth
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.chartsflowui.kit.component.model.shared.HasSymbols
withSymbol, withSymbol, withSymbolKeepAspect, withSymbolOffset, withSymbolRotate, withSymbolSize, withSymbolSizeFunction, withSymbolSizeFunction
-
Field Details
-
coordinateSystem
-
xAxisIndex
-
yAxisIndex
-
polarIndex
-
geoIndex
-
calendarIndex
-
clip
-
symbol
-
symbolSize
-
symbolSizeFunction
-
symbolRotate
-
symbolKeepAspect
-
symbolOffset
-
cursor
-
large
-
largeThreshold
-
labelLine
-
itemStyle
-
emphasis
-
blur
-
select
-
progressive
-
progressiveThreshold
-
animation
-
animationThreshold
-
animationDurationUpdate
-
animationEasingUpdate
-
animationDelayUpdate
-
-
Constructor Details
-
ScatterSeries
public ScatterSeries()
-
-
Method Details
-
getCoordinateSystem
-
setCoordinateSystem
-
getXAxisIndex
-
setXAxisIndex
-
getYAxisIndex
-
setYAxisIndex
-
getPolarIndex
-
setPolarIndex
-
getGeoIndex
-
setGeoIndex
-
getCalendarIndex
-
setCalendarIndex
-
getClip
-
setClip
-
getSymbol
- Specified by:
getSymbol
in interfaceHasSymbols<ScatterSeries>
- Returns:
- symbol
-
setSymbol
Description copied from interface:HasSymbols
Sets a symbol or replaces an existing one.
Possible values:-
image://%url%
, example:image://http://example.website/a/b.png
-
image://%dataURI%
, example:image://data:image/gif;base64,...
-
path://%svgPathData%
, example:path://M30.9,53.2c16...
- Specified by:
setSymbol
in interfaceHasSymbols<ScatterSeries>
- Parameters:
icon
- symbol to set
-
-
getSymbolSize
- Specified by:
getSymbolSize
in interfaceHasSymbols<ScatterSeries>
- Returns:
- symbol size
-
setSymbolSize
Description copied from interface:HasSymbols
Sets a symbol size or replaces an existing one.- Specified by:
setSymbolSize
in interfaceHasSymbols<ScatterSeries>
- Parameters:
symbolSize
- symbol size to set
-
setSymbolSizeFunction
Description copied from interface:HasSymbols
Sets a callback function for symbol size as string or replaces an existing one.- Specified by:
setSymbolSizeFunction
in interfaceHasSymbols<ScatterSeries>
- Parameters:
symbolSizeFunction
- formatter function as string
-
getSymbolSizeFunction
- Specified by:
getSymbolSizeFunction
in interfaceHasSymbols<ScatterSeries>
- Returns:
- callback function for symbol size
-
getSymbolRotate
- Specified by:
getSymbolRotate
in interfaceHasSymbols<ScatterSeries>
- Returns:
- rotate degree of symbol
-
setSymbolRotate
Description copied from interface:HasSymbols
Sets a rotate degree of symbol or replaces an existing one. The negative value represents clockwise.- Specified by:
setSymbolRotate
in interfaceHasSymbols<ScatterSeries>
- Parameters:
symbolRotate
- rotate symbol to set
-
getSymbolKeepAspect
- Specified by:
getSymbolKeepAspect
in interfaceHasSymbols<ScatterSeries>
- Returns:
true
if the aspect for symbols must be kept,false
otherwise
-
setSymbolKeepAspect
Description copied from interface:HasSymbols
Sets the keeping of aspects for a symbol.- Specified by:
setSymbolKeepAspect
in interfaceHasSymbols<ScatterSeries>
- Parameters:
symbolKeepAspect
- whether to keep aspect for symbols in the form ofpath://%svgPathData%
-
getSymbolOffset
- Specified by:
getSymbolOffset
in interfaceHasSymbols<ScatterSeries>
- Returns:
- offset of symbol relative to original position
-
setSymbolOffset
Description copied from interface:HasSymbols
Sets an offset of symbol relative to original position or replaces an existing one.
Possible values:-
Pixel values:
hasSymbols.setSymbolOffset("10", "10");
. -
Percentage values:
hasSymbols.setSymbolOffset("50%", "45%");
. -
Pixel and percentage values combination:
hasSymbols.setSymbolOffset("5", "50%");
.
- Specified by:
setSymbolOffset
in interfaceHasSymbols<ScatterSeries>
- Parameters:
xOffset
- horizontal offsetyOffset
- vertical offset
-
Pixel values:
-
getCursor
-
setCursor
-
getLarge
-
setLarge
-
getLargeThreshold
-
setLargeThreshold
-
getLabelLine
-
setLabelLine
-
getItemStyle
-
getEmphasis
-
setEmphasis
-
getBlur
-
setBlur
-
getSelect
-
setSelect
-
getProgressive
-
setProgressive
-
getProgressiveThreshold
-
setProgressiveThreshold
-
getAnimation
-
setAnimation
-
getAnimationThreshold
-
setAnimationThreshold
-
getAnimationDurationUpdate
-
setAnimationDurationUpdate
-
getAnimationEasingUpdate
-
setAnimationEasingUpdate
-
getAnimationDelayUpdate
-
setAnimationDelayUpdate
-
withCoordinateSystem
-
withXAxisIndex
-
withYAxisIndex
-
withPolarIndex
-
withGeoIndex
-
withCalendarIndex
-
withClip
-
withCursor
-
withLarge
-
withLargeThreshold
-
withLabelLine
-
withEmphasis
-
withBlur
-
withSelect
-
withProgressive
-
withProgressiveThreshold
-
withAnimation
-
withAnimationThreshold
-
withAnimationDurationUpdate
-
withAnimationEasingUpdate
-
withAnimationDelayUpdate
-