Bar Mark
interface BarMark<DOMAIN, XVAL, YVAL> : HasFill<DOMAIN> , HasLabel<DOMAIN> , HasStrokeColor<DOMAIN> , HasStrokeWidth<DOMAIN> , HasStack, HasCustomTooltip<DOMAIN> , HasMarkDecorator<DOMAIN> , HasHighlightDecorator<DOMAIN> , HasSelectionDecorator<DOMAIN> , HasLegendDecorator<DOMAIN> , MarkXY<DOMAIN, XVAL, YVAL>
Content copied to clipboard
Draw horizontal bars for a given Dataset and X and Y Dimensions.
Functions
drawHighlight
Link copied to clipboard
open fun drawHighlight(drawingZone: DrawingZone, highlightedData: Collection<Datum<DOMAIN>>)
Content copied to clipboard
Draw a highlighted sign on the DrawingZone for each elements of a given dataset.
drawMark
Link copied to clipboard
drawSelection
Link copied to clipboard
open fun drawSelection(drawingZone: DrawingZone, selectedData: Collection<Datum<DOMAIN>>)
Content copied to clipboard
Draw a selected sign on the DrawingZone for each elements of a given dataset.
getEventZones
Link copied to clipboard
open fun getEventZones(dataset: Dataset<DOMAIN>): Collection<EventZone<DOMAIN>>
Content copied to clipboard
Get all of interactive zones for this Mark.
getTooltipPosition
Link copied to clipboard
abstract fun getTooltipPosition(datum: Datum<DOMAIN>, drawingZone: DrawingZone): TooltipPosition?
Content copied to clipboard
Properties
defaultHighlightDecorator
Link copied to clipboard
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
The default legend decorator for a given Datum.
defaultMarkDecorator
Link copied to clipboard
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
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.
fillHighlight
Link copied to clipboard
The Dimension used to define a filling color from a DOMAIN object.
fillSelect
Link copied to clipboard
The Dimension used to define a filling color from a DOMAIN object.
highlightDecorator
Link copied to clipboard
The highlight decorator lambda will be called on each sign, use this to draw custom decorations on a highlighted sign.
legendDecorator
Link copied to clipboard
The legend decorator lambda will be called on each series, use this to draw custom decorations for your series.
markDecorator
Link copied to clipboard
The mark decorator lambda will be called on each point, use this to draw custom decorations for your signs.
selectionDecorator
Link copied to clipboard
The selection decorator lambda will be called on each sign, use this to draw custom decorations on a selected sign.
strokeColor
Link copied to clipboard
The Dimension used to define the stroke color from a DOMAIN object.
strokeColorHighlight
Link copied to clipboard
The Dimension used to define the "highlighted" stroke color from a DOMAIN object.
strokeColorSelect
Link copied to clipboard
The Dimension used to define the "selected" stroke color from a DOMAIN object.
strokeWidth
Link copied to clipboard
The Dimension used to define the stroke thickness from a DOMAIN object.
strokeWidthHighlight
Link copied to clipboard
The Dimension used to define the "highlighted" stroke thickness from a DOMAIN object.
strokeWidthSelect
Link copied to clipboard
The Dimension used to define the "selected" stroke thickness from a DOMAIN object.
xAxisConfig
Link copied to clipboard
The configuration object AxisConfig used for the X axis.
yAxisConfig
Link copied to clipboard
The configuration object AxisConfig used for the Y axis.