VerticalAxis

Draws vertical axes. See the BaseAxis documentation for descriptions of the inherited properties.

Types

Link copied to clipboard
object Companion

Houses VerticalAxis factory functions.

Link copied to clipboard

Defines the horizontal position of each of a vertical axis’s labels relative to the axis line.

Link copied to clipboard
interface ItemPlacer

Determines for what y values a VerticalAxis displays labels, ticks, and guidelines.

Properties

Link copied to clipboard

defines the horizontal position of the labels relative to the axis line.

Link copied to clipboard

determines for what y values the VerticalAxis displays labels, ticks, and guidelines.

Link copied to clipboard
open override val position: P

The position of the Axis.

Link copied to clipboard

defines the vertical positions of the labels relative to their ticks.

Functions

Link copied to clipboard
fun copy(line: LineComponent? = this.line, label: TextComponent? = this.label, labelRotationDegrees: Float = this.labelRotationDegrees, horizontalLabelPosition: VerticalAxis.HorizontalLabelPosition = this.horizontalLabelPosition, verticalLabelPosition: Position.Vertical = this.verticalLabelPosition, valueFormatter: CartesianValueFormatter = this.valueFormatter, tick: LineComponent? = this.tick, tickLengthDp: Float = this.tickLengthDp, guideline: LineComponent? = this.guideline, itemPlacer: VerticalAxis.ItemPlacer = this.itemPlacer, size: BaseAxis.Size = this.size, titleComponent: TextComponent? = this.titleComponent, title: CharSequence? = this.title): VerticalAxis<P>

Creates a new VerticalAxis based on this one.

Link copied to clipboard
open override fun drawOverLayers(context: CartesianDrawingContext)

Draws content over the CartesianLayers.

Link copied to clipboard
open override fun drawUnderLayers(context: CartesianDrawingContext)

Draws content under 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 updateHorizontalLayerMargins(context: CartesianMeasuringContext, horizontalLayerMargins: HorizontalCartesianLayerMargins, layerHeight: Float, model: CartesianChartModel)

Ensures that there are sufficient horizontal CartesianLayer-area margins.

Link copied to clipboard

Updates the chart’s MutableCartesianLayerDimensions instance.

Link copied to clipboard
open override fun updateLayerMargins(context: CartesianMeasuringContext, layerMargins: CartesianLayerMargins, layerDimensions: CartesianLayerDimensions, model: CartesianChartModel)

Ensures that there are sufficient CartesianLayer-area margins.