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
Draws the CartesianMarker for the specified Targets.
Link copied to clipboard
open override fun updateInsets(context: CartesianMeasuringContext, horizontalDimensions: HorizontalDimensions, model: CartesianChartModel, insets: Insets)
Ensures that there are sufficient insets.