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
Nested ClassesModifier and TypeClassDescriptionstatic classComponent to configure the blur state.static classComponent to configure the emphasis state.static classPoint to display.Nested 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 MarkPoint.Blurprotected List<MarkPoint.Point>protected MarkPoint.Emphasisprotected ItemStyleprotected HasSymbols.Symbolprotected Booleanprotected String[]protected Integerprotected Integerprotected JsFunctionFields inherited from class io.jmix.chartsflowui.kit.component.model.series.mark.AbstractMark
animation, animationDelay, animationDelayUpdate, animationDuration, animationDurationUpdate, animationEasing, animationEasingUpdate, animationThreshold, label, silentFields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
children, dirty, listener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddData(MarkPoint.Point point) getBlur()getData()String[]voidremoveData(MarkPoint.Point point) voidsetBlur(MarkPoint.Blur blur) voidsetData(MarkPoint.Point... data) voidsetData(List<MarkPoint.Point> data) voidsetEmphasis(MarkPoint.Emphasis emphasis) voidsetItemStyle(ItemStyle itemStyle) 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.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, withSilentMethods 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
-
symbol
-
symbolSize
-
symbolSizeFunction
-
symbolRotate
-
symbolKeepAspect
-
symbolOffset
-
itemStyle
-
emphasis
-
blur
-
data
-
-
Constructor Details
-
MarkPoint
public MarkPoint()
-
-
Method Details
-
getSymbol
- Specified by:
getSymbolin interfaceHasSymbols<MarkPoint>- 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<MarkPoint>- Parameters:
icon- symbol to set
-
-
getSymbolSize
- Specified by:
getSymbolSizein interfaceHasSymbols<MarkPoint>- Returns:
- symbol size
-
setSymbolSize
Description copied from interface:HasSymbolsSets a symbol size or replaces an existing one.- Specified by:
setSymbolSizein interfaceHasSymbols<MarkPoint>- Parameters:
symbolSize- symbol size to set
-
getSymbolSizeFunction
- Specified by:
getSymbolSizeFunctionin interfaceHasSymbols<MarkPoint>- Returns:
- callback function for symbol size
-
setSymbolSizeFunction
Description copied from interface:HasSymbolsSets a callback function for symbol size as string or replaces an existing one.- Specified by:
setSymbolSizeFunctionin interfaceHasSymbols<MarkPoint>- Parameters:
symbolSizeFunction- formatter function as string
-
getSymbolRotate
- Specified by:
getSymbolRotatein interfaceHasSymbols<MarkPoint>- 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<MarkPoint>- Parameters:
symbolRotate- rotate symbol to set
-
getSymbolKeepAspect
- Specified by:
getSymbolKeepAspectin interfaceHasSymbols<MarkPoint>- 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<MarkPoint>- Parameters:
symbolKeepAspect- whether to keep aspect for symbols in the form ofpath://%svgPathData%
-
getSymbolOffset
- Specified by:
getSymbolOffsetin interfaceHasSymbols<MarkPoint>- 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<MarkPoint>- Parameters:
xOffset- horizontal offsetyOffset- vertical offset
-
Pixel values:
-
getItemStyle
-
getEmphasis
-
setEmphasis
-
getBlur
-
setBlur
-
getData
-
setData
-
setData
-
removeData
-
addData
-
withEmphasis
-
withBlur
-
withData
-
withData
-