MarkXY

interface MarkXY<DOMAIN, XVAL, YVAL> : MarkX<DOMAIN, XVAL> , MarkY<DOMAIN, YVAL> , Mark<DOMAIN>

A Mark that can display itself along a X Axis and a Y Axis

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

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.

Inheritors

AreaMark
Link copied to clipboard
BarMark
Link copied to clipboard
BoxPlotMark
Link copied to clipboard
EmptyMark
Link copied to clipboard
LineMark
Link copied to clipboard
PlotMark
Link copied to clipboard