Skip to content

ScaleOptions.Create method

Creates scale options that match the specified scale type.

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

Declaration

public static ScaleOptions Create(ScaleType type)

Parameters

name type description
type ScaleType The scale type of the created options.

Returns

type description
ScaleOptions The scale options for the scale type.

Exceptions

exception condition
ArgumentOutOfRangeException The scale type is not supported.

See Also