Skip to content

ScaleOptions class

Serves as the base class for the scale options that define how raw axis values map to screen positions, labels, ticks, and gridlines.

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

Declaration

public abstract class ScaleOptions : ChartElementBase

Properties

name description
CrosshairLabelFormatter { get; set; } Gets or sets the formatter that converts axis values into crosshair label text. If the value is null, the default formatter is used.
LabelFormatter { get; set; } Gets or sets the formatter that converts axis values into axis label text. If the value is null, the default formatter is used.

Methods

name description
static Create(…) Creates scale options that match the specified scale type.

See Also

Used in articles