# 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`](./index.md)  
**Assembly:** `Eremex.Avalonia.Charts.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls](https://www.nuget.org/packages/Eremex.Avalonia.Controls)

## Declaration

```csharp
public abstract class ScaleOptions : ChartElementBase
```

## Public Members

| name | description |
| --- | --- |
| static [Create](ScaleOptions/Create.md)(…) | Creates scale options that match the specified scale type. |
| [CrosshairLabelFormatter](ScaleOptions/CrosshairLabelFormatter.md) { 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](ScaleOptions/LabelFormatter.md) { 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. |

## See Also

* class [ChartElementBase](./ChartElementBase.md)
* namespace [Eremex.AvaloniaUI.Charts](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Charts.dll -->
