Class MarkPoint
java.lang.Object
io.jmix.chartsflowui.kit.component.model.ChartObservableObject
io.jmix.chartsflowui.kit.component.model.series.mark.AbstractMark<MarkPoint>
io.jmix.chartsflowui.kit.component.model.series.mark.MarkPoint
- All Implemented Interfaces:
HasSymbols<MarkPoint>
,Serializable
Mark point in a chart. Used to mark any single values on the graph.
More detailed information is provided in the documentation.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Component to configure the blur state.static class
Component to configure the emphasis state.static class
Point to display.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 MarkPoint.Blur
protected List<MarkPoint.Point>
protected MarkPoint.Emphasis
protected ItemStyle
protected HasSymbols.Symbol
protected Boolean
protected String[]
protected Integer
protected Integer
protected JsFunction
Fields inherited from class io.jmix.chartsflowui.kit.component.model.series.mark.AbstractMark
animation, animationDelay, animationDelayUpdate, animationDuration, animationDurationUpdate, animationEasing, animationEasingUpdate, animationThreshold, label, silent
Fields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
children, dirty, listener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addData
(MarkPoint.Point point) getBlur()
getData()
String[]
void
removeData
(MarkPoint.Point point) void
setBlur
(MarkPoint.Blur blur) void
setData
(MarkPoint.Point... data) void
setData
(List<MarkPoint.Point> data) void
setEmphasis
(MarkPoint.Emphasis emphasis) void
setItemStyle
(ItemStyle itemStyle) 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.withBlur
(MarkPoint.Blur blur) withData
(MarkPoint.Point point) withData
(MarkPoint.Point... data) withEmphasis
(MarkPoint.Emphasis emphasis) withItemStyle
(ItemStyle itemStyle) Methods inherited from class io.jmix.chartsflowui.kit.component.model.series.mark.AbstractMark
getAnimation, getAnimationDelay, getAnimationDelayUpdate, getAnimationDuration, getAnimationDurationUpdate, getAnimationEasing, getAnimationEasingUpdate, getAnimationThreshold, getLabel, getSilent, setAnimation, setAnimationDelay, setAnimationDelayUpdate, setAnimationDuration, setAnimationDurationUpdate, setAnimationEasing, setAnimationEasingUpdate, setAnimationThreshold, setLabel, setSilent, withAnimation, withAnimationDelay, withAnimationDelayUpdate, withAnimationDuration, withAnimationDurationUpdate, withAnimationEasing, withAnimationEasingUpdate, withAnimationThreshold, withLabel, withSilent
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
-
symbol
-
symbolSize
-
symbolSizeFunction
-
symbolRotate
-
symbolKeepAspect
-
symbolOffset
-
itemStyle
-
emphasis
-
blur
-
data
-
-
Constructor Details
-
MarkPoint
public MarkPoint()
-
-
Method Details
-
getSymbol
- Specified by:
getSymbol
in interfaceHasSymbols<MarkPoint>
- 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<MarkPoint>
- Parameters:
icon
- symbol to set
-
-
getSymbolSize
- Specified by:
getSymbolSize
in interfaceHasSymbols<MarkPoint>
- Returns:
- symbol size
-
setSymbolSize
Description copied from interface:HasSymbols
Sets a symbol size or replaces an existing one.- Specified by:
setSymbolSize
in interfaceHasSymbols<MarkPoint>
- Parameters:
symbolSize
- symbol size to set
-
getSymbolSizeFunction
- Specified by:
getSymbolSizeFunction
in interfaceHasSymbols<MarkPoint>
- Returns:
- callback function for symbol size
-
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<MarkPoint>
- Parameters:
symbolSizeFunction
- formatter function as string
-
getSymbolRotate
- Specified by:
getSymbolRotate
in interfaceHasSymbols<MarkPoint>
- 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<MarkPoint>
- Parameters:
symbolRotate
- rotate symbol to set
-
getSymbolKeepAspect
- Specified by:
getSymbolKeepAspect
in interfaceHasSymbols<MarkPoint>
- 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<MarkPoint>
- Parameters:
symbolKeepAspect
- whether to keep aspect for symbols in the form ofpath://%svgPathData%
-
getSymbolOffset
- Specified by:
getSymbolOffset
in interfaceHasSymbols<MarkPoint>
- 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<MarkPoint>
- Parameters:
xOffset
- horizontal offsetyOffset
- vertical offset
-
Pixel values:
-
getItemStyle
-
getEmphasis
-
setEmphasis
-
getBlur
-
setBlur
-
getData
-
setData
-
setData
-
removeData
-
addData
-
withEmphasis
-
withBlur
-
withData
-
withData
-