Class AxisStyle
Namespace: VelloSharp.Charting.Styling
Assembly: VelloSharp.Charting.dll
Encapsulates visual styling tokens for axes.
public sealed class AxisStyle
Inheritance
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
LabelMargin
public double LabelMargin { get; }
Property Value
LabelTypography
public ChartTypography LabelTypography { get; }
Property Value
LineColor
public RgbaColor LineColor { get; }
Property Value
TickColor
public RgbaColor TickColor { get; }
Property Value
TickLength
public double TickLength { get; }
Property Value
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