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.ObjectChangeEvent
Nested classes/interfaces inherited from interface io.jmix.chartsflowui.kit.component.model.shared.HasSymbols
HasSymbols.Symbol, HasSymbols.SymbolType
-
Field Summary
Modifier and TypeFieldDescriptionprotected MarkLine.Blur
protected Coordinate
protected MarkLine.Emphasis
protected String
protected HasSymbols.Symbol
protected Boolean
protected String[]
protected Integer
protected Integer
protected JsFunction
protected LineDataType
protected Double
protected String
protected Integer
protected String
protected String
protected String
protected String
Fields inherited from class io.jmix.chartsflowui.kit.component.model.series.mark.MarkLine.AbstractMarkLineElement
label, lineStyle
Fields inherited from class io.jmix.chartsflowui.kit.component.model.ChartObservableObject
children, dirty, listener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBlur()
getName()
String[]
getType()
getValue()
getX()
getXAxis()
getY()
getYAxis()
void
setBlur
(MarkLine.Blur blur) void
setCoordinate
(Double... coordinate) void
setCoordinate
(String... coordinate) void
setEmphasis
(MarkLine.Emphasis emphasis) void
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
setType
(LineDataType type) void
void
setValueDim
(String valueDim) void
setValueIndex
(Integer valueIndex) void
void
void
void
withBlur
(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, withLineStyle
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
-
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:
getSymbol
in interfaceHasSymbols<MarkLine.Point>
- 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<MarkLine.Point>
- Parameters:
icon
- symbol to set
-
-
getSymbolSize
- Specified by:
getSymbolSize
in interfaceHasSymbols<MarkLine.Point>
- Returns:
- symbol size
-
setSymbolSize
Description copied from interface:HasSymbols
Sets a symbol size or replaces an existing one.- Specified by:
setSymbolSize
in interfaceHasSymbols<MarkLine.Point>
- Parameters:
symbolSize
- symbol size to set
-
getSymbolSizeFunction
- Specified by:
getSymbolSizeFunction
in interfaceHasSymbols<MarkLine.Point>
- 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<MarkLine.Point>
- Parameters:
symbolSizeFunction
- formatter function as string
-
getSymbolRotate
- Specified by:
getSymbolRotate
in interfaceHasSymbols<MarkLine.Point>
- 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<MarkLine.Point>
- Parameters:
symbolRotate
- rotate symbol to set
-
getSymbolKeepAspect
- Specified by:
getSymbolKeepAspect
in interfaceHasSymbols<MarkLine.Point>
- 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<MarkLine.Point>
- Parameters:
symbolKeepAspect
- whether to keep aspect for symbols in the form ofpath://%svgPathData%
-
getSymbolOffset
- Specified by:
getSymbolOffset
in interfaceHasSymbols<MarkLine.Point>
- 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<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
-