ICartesianAxis
Interface

Assembly LiveChartsCore
Namespace LiveChartsCore.Kernel.Sketches

Summary:
Defines an Axis in a Cartesian chart.

Implements:
Derived:
CoreAxis<TTextGeometry, TLineGeometry>

Properties

Gets the orientation.
Type: AxisOrientation
Gets or sets the padding around the tick labels along the axis.
Type: Padding
Xo
Gets or sets the xo, a reference used internally to calculate the axis position.
Type: Single
Yo
Gets or sets the yo, a reference used internally to calculate the axis position.
Type: Single
Gets or sets the size of the axis, this value is used internally to calculate the axis position.
Type: LvcSize
Gets or sets the labels density, it is a factor that determines the distance between labels when calculated by the library, 0 is the most dense any value greater than 0 will make the labels to be more separated, values less than 0 will make the labels to overlap (labels rotation could prevent overlapping). Default value is 0.85.
Type: Single
Gets or sets the min zoom delta, the minimum difference between the max and min visible limits of the axis. default is null and null means that the library will calculate this value based on the current data.
Type: Nullable<Double>
Gets or sets a value indicating whether the ticks are centered to the UnitWidth, default is true.
Type: Boolean
Gets or sets a value indicating whether the separators are centered to the UnitWidth, default is true.
Type: Boolean
Gets or sets the reserved area for the labels.
Type: LvcRectangle
Gets or sets the max label size, this value is used internally to measure the axis.
Type: LvcSize
Gets or sets the reserved area for the name.
Type: LvcRectangle
Places the title in the same direction as the axis, default is false.
Type: Boolean
Gets or sets the labels alignment, default is null and means that the library will set it based on the Orientation and Position properties.
Type: Nullable<Align>
Gets or sets the axis position.
Type: AxisPosition
Gets or sets the shared axes collection, useful to share the zooming an panning between several charts.
Type: IEnumerable<ICartesianAxis>
Gets or sets the sub-separators paint.
Type: Paint
Gets or sets the number of subseparators to draw.
Type: Int32
Gets or sets whether the ticks path should be drawn.
Type: Boolean
Gets or sets the separators paint.
Type: Paint
Gets or sets the separators paint.
Type: Paint
Gets or sets the zero paint.
Type: Paint
Gets or sets the crosshair paint.
Type: Paint
Gets or sets the crosshair labels paint.
Type: Paint
Gets or sets the crosshair background.
Type: Nullable<LvcColor>
Gets or sets the crosshair labels padding.
Type: Padding
Gets or sets whether the crosshair snaps to nearest series.
Type: Boolean

Events

Occurs when the axis measure starts.
Handler definition: Action<Chart, ICartesianAxis>

Methods

// Called when the axis measure starts.
Chart chart, // The chart.
AxisOrientation orientation// The orientation.
)
// Gets the axis limits considering its own and the SharedWith axes.
// Sets the axis limits (own and shared).
Double min, // The min limit.
Double max, // The max limit.
Boolean propagateShared, // if set to true notify the changes.
Boolean notify// if set to true propagate the changes to the shared axes.
)
// Invalidates the crosshair visual.
Chart chart, // The chart.
LvcPoint pointerPosition// The pointer position
)
// Clears the crosshair visual.
Chart chart// The chart.
)