Mark

interface Mark<DOMAIN>

A Mark is a way to represent a data as visual elements (signs).

For example a LineMark will display a curve between all elements, a PlotMarkImpl will display a sign for each element etc, a ColumnMark will display vertical bars for each element...

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.

Inheritors

MarkXY
Link copied to clipboard