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
Nested ClassesModifier and TypeClassDescriptionstatic classBase component for scatter elements.static classComponent to configure the blur state.static classComponent to configure the emphasis state.static classComponent to configure label guide line.static classComponent to configure the selection state.Nested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.series.AbstractAxisAwareSeries
AbstractAxisAwareSeries.SeriesLayoutTypeNested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.series.AbstractSeries
AbstractSeries.LabelLayout, AbstractSeries.TooltipNested classes/interfaces inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
ChartObservableObject.ObjectChangeEventNested classes/interfaces inherited from interface io.jmix.chartsflowui.kit.component.model.shared.HasSymbols
HasSymbols.Symbol, HasSymbols.SymbolType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected Integerprotected Integerprotected Stringprotected Integerprotected ScatterSeries.Blurprotected Integerprotected Booleanprotected CoordinateSystemprotected Stringprotected ScatterSeries.Emphasisprotected Integerprotected ItemStyleprotected ScatterSeries.LabelLineprotected Booleanprotected Integerprotected Integerprotected Integerprotected Integerprotected ScatterSeries.Selectprotected HasSymbols.Symbolprotected Booleanprotected String[]protected Integerprotected Integerprotected JsFunctionprotected Integerprotected IntegerFields inherited from class io.jmix.chartsflowui.kit.component.model.series.AbstractAxisAwareSeries
datasetIndex, encode, legendHoverLink, markArea, markLine, markPoint, seriesLayoutByFields 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, zLevelFields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
children, dirty, listener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBlur()getClip()getLarge()String[]voidsetAnimation(Boolean animation) voidsetAnimationDelayUpdate(Integer animationDelayUpdate) voidsetAnimationDurationUpdate(Integer animationDurationUpdate) voidsetAnimationEasingUpdate(String animationEasingUpdate) voidsetAnimationThreshold(Integer animationThreshold) voidsetBlur(ScatterSeries.Blur blur) voidsetCalendarIndex(Integer calendarIndex) voidvoidsetCoordinateSystem(CoordinateSystem coordinateSystem) voidvoidsetEmphasis(ScatterSeries.Emphasis emphasis) voidsetGeoIndex(Integer geoIndex) voidsetItemStyle(ItemStyle itemStyle) voidsetLabelLine(ScatterSeries.LabelLine labelLine) voidvoidsetLargeThreshold(Integer largeThreshold) voidsetPolarIndex(Integer polarIndex) voidsetProgressive(Integer progressive) voidsetProgressiveThreshold(Integer progressiveThreshold) voidsetSelect(ScatterSeries.Select select) voidsetSymbol(HasSymbols.SymbolType symbolType) Sets predefined symbol type or replaces an existing one.voidSets a symbol or replaces an existing one.
Possible values:image://%url%, example:image://http://example.website/a/b.pngimage://%dataURI%, example:image://data:image/gif;base64,...path://%svgPathData%, example:path://M30.9,53.2c16...voidsetSymbolKeepAspect(Boolean symbolKeepAspect) Sets the keeping of aspects for a symbol.voidsetSymbolOffset(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");.voidsetSymbolRotate(Integer symbolRotate) Sets a rotate degree of symbol or replaces an existing one.voidsetSymbolSize(Integer symbolSize) Sets a symbol size or replaces an existing one.voidsetSymbolSizeFunction(JsFunction symbolSizeFunction) Sets a callback function for symbol size or replaces an existing one.voidsetSymbolSizeFunction(String symbolSizeFunction) Sets a callback function for symbol size as string or replaces an existing one.voidsetXAxisIndex(Integer xAxisIndex) voidsetYAxisIndex(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, withSeriesLayoutByMethods 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, withZLevelMethods inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
addChild, fireChangeEvent, getChildren, isDirty, isDirtyInDepth, markAsDirty, markAsDirtyInDepth, removeChild, setChartObjectChangeListener, unmarkDirtyInDepthMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getSymbolin interfaceHasSymbols<ScatterSeries>- Returns:
- symbol
-
setSymbol
Description copied from interface:HasSymbolsSets 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:
setSymbolin interfaceHasSymbols<ScatterSeries>- Parameters:
icon- symbol to set
-
-
getSymbolSize
- Specified by:
getSymbolSizein interfaceHasSymbols<ScatterSeries>- Returns:
- symbol size
-
setSymbolSize
Description copied from interface:HasSymbolsSets a symbol size or replaces an existing one.- Specified by:
setSymbolSizein interfaceHasSymbols<ScatterSeries>- Parameters:
symbolSize- symbol size to set
-
setSymbolSizeFunction
Description copied from interface:HasSymbolsSets a callback function for symbol size as string or replaces an existing one.- Specified by:
setSymbolSizeFunctionin interfaceHasSymbols<ScatterSeries>- Parameters:
symbolSizeFunction- formatter function as string
-
getSymbolSizeFunction
- Specified by:
getSymbolSizeFunctionin interfaceHasSymbols<ScatterSeries>- Returns:
- callback function for symbol size
-
getSymbolRotate
- Specified by:
getSymbolRotatein interfaceHasSymbols<ScatterSeries>- Returns:
- rotate degree of symbol
-
setSymbolRotate
Description copied from interface:HasSymbolsSets a rotate degree of symbol or replaces an existing one. The negative value represents clockwise.- Specified by:
setSymbolRotatein interfaceHasSymbols<ScatterSeries>- Parameters:
symbolRotate- rotate symbol to set
-
getSymbolKeepAspect
- Specified by:
getSymbolKeepAspectin interfaceHasSymbols<ScatterSeries>- Returns:
trueif the aspect for symbols must be kept,falseotherwise
-
setSymbolKeepAspect
Description copied from interface:HasSymbolsSets the keeping of aspects for a symbol.- Specified by:
setSymbolKeepAspectin interfaceHasSymbols<ScatterSeries>- Parameters:
symbolKeepAspect- whether to keep aspect for symbols in the form ofpath://%svgPathData%
-
getSymbolOffset
- Specified by:
getSymbolOffsetin interfaceHasSymbols<ScatterSeries>- Returns:
- offset of symbol relative to original position
-
setSymbolOffset
Description copied from interface:HasSymbolsSets 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:
setSymbolOffsetin 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
-