Skip to content

CartesianAxis class

Serves as the base class for the axes of a Cartesian chart. It adds a position, a title, and a title position.

Namespace: Eremex.AvaloniaUI.Charts
Assembly: Eremex.Avalonia.Charts.dll
NuGet Package: Eremex.Avalonia.Controls

Declaration

public abstract class CartesianAxis : LinearAxis, IIndexedChartElement, INamedAxis

Public Members

name description
Key { get; set; } Gets or sets the key that identifies the axis when series are bound to it. Series with different keys are drawn on different axes.
MaxZoomFactor { get; set; } Gets or sets the largest ratio between the whole range length and the visible range length that zooming can reach. The default value is 10000.
Position { get; set; } Gets or sets which side of the drawing area the axis is drawn on.
Reverse { get; set; } Gets or sets whether the axis values run in the opposite direction to the default one.
ShowTitle { get; set; } Gets or sets whether the axis title is displayed.
Title { get; set; } Gets or sets the text displayed in the axis title.
TitlePosition { get; set; } Gets or sets where the axis title is placed relative to the axis labels.

See Also