LineMark

Functions

drawHighlight
Link copied to clipboard
common
open fun drawHighlight(drawingZone: DrawingZone, highlightedData: Collection<Datum<DOMAIN>>)
Draw a highlighted sign on the DrawingZone for each elements of a given dataset.
drawMark
Link copied to clipboard
common
open fun drawMark(drawingZone: DrawingZone, dataset: Dataset<DOMAIN>)
Draw a sign on the DrawingZone for each elements of a given dataset.
drawSelection
Link copied to clipboard
common
open fun drawSelection(drawingZone: DrawingZone, selectedData: Collection<Datum<DOMAIN>>)
Draw a selected sign on the DrawingZone for each elements of a given dataset.
getEventZones
Link copied to clipboard
common
open fun getEventZones(dataset: Dataset<DOMAIN>): Collection<EventZone<DOMAIN>>
Get all of interactive zones for this Mark.
prepare
Link copied to clipboard
common
open fun prepare(dataset: Dataset<DOMAIN>)
The prepare function is called once on the initialization of mark and on data changed.
x
Link copied to clipboard
common
open fun x(configLambda: Axis<DOMAIN, XVAL>.() -> Unit)
An initialization lambda for configuring the X Axis used in this Mark.
y
Link copied to clipboard
common
open fun y(configLambda: Axis<DOMAIN, YVAL>.() -> Unit)
An initialization lambda for configuring the Y Axis used in this Mark.

Properties

curve
Link copied to clipboard
common
abstract var curve: PathDrawer
The PathDrawer used to draw Curve from Path.
defaultHighlightDecorator
Link copied to clipboard
common
abstract val defaultHighlightDecorator: DatumDecorator<DOMAIN>
The default highlight decorator for this Mark, if you use a custom DatumDecorator you may want to call defaultHighlightDecorator(datum, x, y, drawingZone) to draw the expected sign.
defaultLegendDecorator
Link copied to clipboard
common
abstract val defaultLegendDecorator: DatumDecorator<DOMAIN>
The default legend decorator for a given Datum.
defaultMarkDecorator
Link copied to clipboard
common
abstract val defaultMarkDecorator: DatumDecorator<DOMAIN>
The default mark decorator for this Mark, if you use a custom DatumDecorator you may want to call defaultMarkDecorator(datum, x, y, drawingZone) to draw the expected sign.
defaultSelectionDecorator
Link copied to clipboard
common
abstract val defaultSelectionDecorator: DatumDecorator<DOMAIN>
The default selection decorator for this Mark, if you use a custom DatumDecorator you may want to call defaultSelectionDecorator(datum, x, y, drawingZone) to draw the expected sign.
highlightDecorator
Link copied to clipboard
common
abstract var highlightDecorator: DatumDecorator<DOMAIN>
The highlight decorator lambda will be called on each sign, use this to draw custom decorations on a highlighted sign.
joinMissingValues
Link copied to clipboard
common
abstract var joinMissingValues: Boolean
Does this LineMark link 2 points over a missing value or does it cut the line?
legendDecorator
Link copied to clipboard
common
abstract var legendDecorator: DatumDecorator<DOMAIN>
The legend decorator lambda will be called on each series, use this to draw custom decorations for your series.
markDecorator
Link copied to clipboard
common
abstract var markDecorator: DatumDecorator<DOMAIN>
The mark decorator lambda will be called on each point, use this to draw custom decorations for your signs.
selectionDecorator
Link copied to clipboard
common
abstract var selectionDecorator: DatumDecorator<DOMAIN>
The selection decorator lambda will be called on each sign, use this to draw custom decorations on a selected sign.
showSymbols
Link copied to clipboard
common
abstract var showSymbols: Boolean
Show / hide symbols.
size
Link copied to clipboard
common
abstract var size: Dimension<DOMAIN, Double?>
The Dimension used to define the size of a sign from a DOMAIN object.
strokeColor
Link copied to clipboard
common
abstract var strokeColor: Dimension<DOMAIN, Color?>
The Dimension used to define the stroke color from a DOMAIN object.
strokeColorHighlight
Link copied to clipboard
common
abstract var strokeColorHighlight: Dimension<DOMAIN, Color?>
The Dimension used to define the "highlighted" stroke color from a DOMAIN object.
strokeColorSelect
Link copied to clipboard
common
abstract var strokeColorSelect: Dimension<DOMAIN, Color?>
The Dimension used to define the "selected" stroke color from a DOMAIN object.
strokeLine
Link copied to clipboard
common
abstract var strokeLine: Dimension<DOMAIN, DoubleArray?>
The Dimension used to define the dash style of a line from a DOMAIN object.
strokeWidth
Link copied to clipboard
common
abstract var strokeWidth: Dimension<DOMAIN, Double?>
The Dimension used to define the stroke thickness from a DOMAIN object.
strokeWidthHighlight
Link copied to clipboard
common
abstract var strokeWidthHighlight: Dimension<DOMAIN, Double?>
The Dimension used to define the "highlighted" stroke thickness from a DOMAIN object.
strokeWidthSelect
Link copied to clipboard
common
abstract var strokeWidthSelect: Dimension<DOMAIN, Double?>
The Dimension used to define the "selected" stroke thickness from a DOMAIN object.
symbol
Link copied to clipboard
common
abstract var symbol: Dimension<DOMAIN, Symbols?>
The Dimension used to define the shape (symbol) of a sign from a DOMAIN object.
x
Link copied to clipboard
common
abstract val x: Axis<DOMAIN, XVAL>
The Axis used to translate data values into a X position.
xAxisConfig
Link copied to clipboard
common
abstract val xAxisConfig: AxisConfig
The configuration object AxisConfig used for the X axis.
y
Link copied to clipboard
common
abstract val y: Axis<DOMAIN, YVAL>
The Axis used to translate data values into a Y position.
yAxisConfig
Link copied to clipboard
common
abstract val yAxisConfig: AxisConfig
The configuration object AxisConfig used for the Y axis.