DefaultCartesianMarker

open class DefaultCartesianMarker(label: TextComponent, valueFormatter: CartesianMarkerValueFormatter = DefaultCartesianMarkerValueFormatter(), labelPosition: DefaultCartesianMarker.LabelPosition = LabelPosition.Top, indicator: (Int) -> Component? = null, indicatorSizeDp: Float = Defaults.MARKER_INDICATOR_SIZE, guideline: LineComponent? = null) : CartesianMarker

The default CartesianMarker implementation.

Constructors

Link copied to clipboard
constructor(label: TextComponent, valueFormatter: CartesianMarkerValueFormatter = DefaultCartesianMarkerValueFormatter(), labelPosition: DefaultCartesianMarker.LabelPosition = LabelPosition.Top, indicator: (Int) -> Component? = null, indicatorSizeDp: Float = Defaults.MARKER_INDICATOR_SIZE, guideline: LineComponent? = null)

Types

Link copied to clipboard

Specifies the position of a DefaultCartesianMarker’s label.

Functions

Link copied to clipboard
open override fun drawOverLayers(context: CartesianDrawingContext, targets: List<CartesianMarker.Target>)

Draws content over the CartesianLayers.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun updateInsets(context: CartesianMeasuringContext, horizontalDimensions: HorizontalDimensions, model: CartesianChartModel, insets: Insets)

Ensures that there are sufficient insets.