drawMark

open fun drawMark(drawingZone: DrawingZone, dataset: Dataset<DOMAIN>)

Draw a sign on the DrawingZone for each elements of a given dataset.

Use the positions (MarkX.x, MarkY.y...) lambdas to draw signs on the expected positions.

Notes :

  • You usually want to clear the DrawingZone before drawing new signs.

  • Depending on the positions lambdas, some signs may be drawn out of the drawing zone and they may be skipped.

Parameters

dataset

the chart's Dataset

drawingZone

the zone allocated by the Chart component for the Mark to draw itself