HorizontalDimensions

Holds information on a CartesianChart’s horizontal dimensions.

Inheritors

Properties

Link copied to clipboard
open val endPadding: Float

The total end padding (in pixels).

Link copied to clipboard
open val padding: Float

The total horizontal padding (in pixels).

Link copied to clipboard

The scalable part of the distance between the end of the content area and the last entry (in pixels).

Link copied to clipboard

The total scalable horizontal padding (in pixels).

Link copied to clipboard

The scalable part of the distance between the start of the content area and the first entry (in pixels).

Link copied to clipboard

The total start padding (in pixels).

Link copied to clipboard

The unscalable part of the distance between the end of the content area and the last entry (in pixels).

Link copied to clipboard

The total unscalable horizontal padding (in pixels).

Link copied to clipboard

The unscalable part of the distance between the start of the content area and the first entry (in pixels).

Link copied to clipboard
abstract val xSpacing: Float

The distance between neighboring major x values (in pixels). This can be scaled.

Functions

Link copied to clipboard

Calculates the width of the CartesianChart’s content (in pixels).

Link copied to clipboard

Calculates the width of the CartesianChart’s scalable content (in pixels).