Class ChartTheme
Namespace: VelloSharp.Charting.Styling
Assembly: VelloSharp.Charting.dll
Represents a cohesive set of styling tokens for charts.
public sealed class ChartTheme
Inheritance
Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
ChartTheme(string, ChartPalette, AxisStyle, LegendStyle, IReadOnlyDictionary<string, ChartTypography>?)
public ChartTheme(string name, ChartPalette palette, AxisStyle axisStyle, LegendStyle legendStyle, IReadOnlyDictionary<string, ChartTypography>? typographyVariants = null)
Parameters
name
string
palette
ChartPalette
axisStyle
AxisStyle
legendStyle
LegendStyle
typographyVariants
IReadOnlyDictionary<string, ChartTypography>?
Properties
Axis
public AxisStyle Axis { get; }
Property Value
Dark
public static ChartTheme Dark { get; }
Property Value
Default
public static ChartTheme Default { get; }
Property Value
Legend
public LegendStyle Legend { get; }
Property Value
Light
public static ChartTheme Light { get; }
Property Value
Name
public string Name { get; }
Property Value
Palette
public ChartPalette Palette { get; }
Property Value
TypographyVariants
public IReadOnlyDictionary<string, ChartTypography> TypographyVariants { get; }
Property Value
IReadOnlyDictionary<string, ChartTypography>
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
A string that represents the current object.