HorizontalAxis

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

Types

Link copied to clipboard
object Companion

Houses HorizontalAxis factory functions.

Link copied to clipboard
interface ItemPlacer

Determines for what x values a HorizontalAxis displays labels, ticks, and guidelines.

Properties

Link copied to clipboard

determines for what x values the HorizontalAxis displays labels, ticks, and guidelines.

Link copied to clipboard
open override val position: P

The position of the Axis.

Functions

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

Creates a new HorizontalAxis 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 updateHorizontalDimensions(context: CartesianMeasuringContext, horizontalDimensions: MutableHorizontalDimensions)

Updates the chart’s MutableHorizontalDimensions instance.

Link copied to clipboard
open override fun updateInsets(context: CartesianMeasuringContext, horizontalDimensions: HorizontalDimensions, model: CartesianChartModel, insets: Insets)

Ensures that there are sufficient insets.