Class MarkLine.Point
java.lang.Object
io.jmix.chartsflowui.kit.component.model.ChartObservableObject
io.jmix.chartsflowui.kit.component.model.series.mark.MarkLine.AbstractMarkLineElement<MarkLine.Point>
io.jmix.chartsflowui.kit.component.model.series.mark.MarkLine.Point
- All Implemented Interfaces:
HasSymbols<MarkLine.Point>,Serializable
- Enclosing class:
- MarkLine
public static class MarkLine.Point
extends MarkLine.AbstractMarkLineElement<MarkLine.Point>
implements HasSymbols<MarkLine.Point>
Component to configure mark line point.
- See Also:
-
Nested Class Summary
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 MarkLine.Blurprotected Coordinateprotected MarkLine.Emphasisprotected Stringprotected HasSymbols.Symbolprotected Booleanprotected String[]protected Integerprotected Integerprotected JsFunctionprotected LineDataTypeprotected Doubleprotected Stringprotected Integerprotected Stringprotected Stringprotected Stringprotected StringFields inherited from class io.jmix.chartsflowui.kit.component.model.series.mark.MarkLine.AbstractMarkLineElement
label, lineStyleFields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
children, dirty, listener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBlur()getName()String[]getType()getValue()getX()getXAxis()getY()getYAxis()voidsetBlur(MarkLine.Blur blur) voidsetCoordinate(Double... coordinate) voidsetCoordinate(String... coordinate) voidsetEmphasis(MarkLine.Emphasis emphasis) voidvoidsetSymbol(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.voidsetType(LineDataType type) voidvoidsetValueDim(String valueDim) voidsetValueIndex(Integer valueIndex) voidvoidvoidvoidwithBlur(MarkLine.Blur blur) withCoordinate(Double... coordinate) withCoordinate(String... coordinate) withEmphasis(MarkLine.Emphasis emphasis) withType(LineDataType type) withValueDim(String valueDim) withValueIndex(Integer valueIndex) Methods inherited from class io.jmix.chartsflowui.kit.component.model.series.mark.MarkLine.AbstractMarkLineElement
getLabel, getLineStyle, setLabel, setLineStyle, withLabel, withLineStyleMethods 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
-
type
-
valueIndex
-
valueDim
-
coordinate
-
name
-
x
-
y
-
xAxis
-
yAxis
-
value
-
symbol
-
symbolSize
-
symbolSizeFunction
-
symbolRotate
-
symbolKeepAspect
-
symbolOffset
-
emphasis
-
blur
-
-
Constructor Details
-
Point
public Point()
-
-
Method Details
-
getType
-
setType
-
getValueIndex
-
setValueIndex
-
getValueDim
-
setValueDim
-
getCoordinate
-
setCoordinate
-
setCoordinate
-
getName
-
setName
-
getX
-
setX
-
getY
-
setY
-
getXAxis
-
setXAxis
-
getYAxis
-
setYAxis
-
getValue
-
setValue
-
getSymbol
- Specified by:
getSymbolin interfaceHasSymbols<MarkLine.Point>- 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<MarkLine.Point>- Parameters:
icon- symbol to set
-
-
getSymbolSize
- Specified by:
getSymbolSizein interfaceHasSymbols<MarkLine.Point>- Returns:
- symbol size
-
setSymbolSize
Description copied from interface:HasSymbolsSets a symbol size or replaces an existing one.- Specified by:
setSymbolSizein interfaceHasSymbols<MarkLine.Point>- Parameters:
symbolSize- symbol size to set
-
getSymbolSizeFunction
- Specified by:
getSymbolSizeFunctionin interfaceHasSymbols<MarkLine.Point>- 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<MarkLine.Point>- Parameters:
symbolSizeFunction- formatter function as string
-
getSymbolRotate
- Specified by:
getSymbolRotatein interfaceHasSymbols<MarkLine.Point>- 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<MarkLine.Point>- Parameters:
symbolRotate- rotate symbol to set
-
getSymbolKeepAspect
- Specified by:
getSymbolKeepAspectin interfaceHasSymbols<MarkLine.Point>- 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<MarkLine.Point>- Parameters:
symbolKeepAspect- whether to keep aspect for symbols in the form ofpath://%svgPathData%
-
getSymbolOffset
- Specified by:
getSymbolOffsetin interfaceHasSymbols<MarkLine.Point>- 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<MarkLine.Point>- Parameters:
xOffset- horizontal offsetyOffset- vertical offset
-
Pixel values:
-
getEmphasis
-
setEmphasis
-
getBlur
-
setBlur
-
withType
-
withValueIndex
-
withValueDim
-
withCoordinate
-
withCoordinate
-
withName
-
withX
-
withY
-
withXAxis
-
withYAxis
-
withValue
-
withEmphasis
-
withBlur
-