Skip to main content

Class AxisStyle

Namespace: VelloSharp.Charting.Styling
Assembly: VelloSharp.Charting.dll

Encapsulates visual styling tokens for axes.

public sealed class AxisStyle

Inheritance

objectAxisStyle

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

AxisStyle(RgbaColor, RgbaColor, double, ChartTypography, double)

public AxisStyle(RgbaColor lineColor, RgbaColor tickColor, double tickLength, ChartTypography labelTypography, double labelMargin = 4)

Parameters

lineColor RgbaColor

tickColor RgbaColor

tickLength double

labelTypography ChartTypography

labelMargin double

Properties

Default

public static AxisStyle Default { get; }

Property Value

AxisStyle

LabelMargin

public double LabelMargin { get; }

Property Value

double

LabelTypography

public ChartTypography LabelTypography { get; }

Property Value

ChartTypography

LineColor

public RgbaColor LineColor { get; }

Property Value

RgbaColor

TickColor

public RgbaColor TickColor { get; }

Property Value

RgbaColor

TickLength

public double TickLength { get; }

Property Value

double

Methods

FromPalette(ChartPalette, ChartTypography, double, double)

public static AxisStyle FromPalette(ChartPalette palette, ChartTypography typography, double tickLength = 6, double labelMargin = 4)

Parameters

palette ChartPalette

typography ChartTypography

tickLength double

labelMargin double

Returns

AxisStyle