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.
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
Draws content over the CartesianLayers.
Link copied to clipboard
Draws content under the CartesianLayers.
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.