Theme
Class

Assembly LiveChartsCore
Namespace LiveChartsCore.Themes

Summary:
Defines a style builder.

Inheritance:
Object =>
Theme

Properties

Gets the theme id.
Type: Object
Gets a value indicating whether the theme is dark. When the RequestedTheme is Unknown, the theme is determined by the system settings.
Type: Boolean
Gets or sets the theme request.
Type: LvcThemeKind
Gets or sets the theme colors.
Type: LvcColor[]
Gets or sets the virtual background color, it means the color to use to clear the canvas before drawing, if the control has a background color set, this property will be ignored.
Type: LvcColor
Gets or sets the default easing function.
Type: Func<Single, Single>
Gets or sets the default animations speed.
Type: TimeSpan
Gets or sets the tooltip text size.
Type: Single
Gets or sets the default tooltip text paint.
Type: Paint
Gets or sets the default tooltip background paint.
Type: Paint
Gets or sets the default legend background paint.
Type: Paint
Gets or sets the default legend text paint.
Type: Paint
Gets or sets the default legend text size.
Type: Single
Called when the theme changes.
Type: List<Action>
Gets or sets the axis builder.
Type: List<Action<IPlane>>
Gets or sets the draw margin frame getter.
Type: Func<CoreDrawMarginFrame>
Gets or sets the draw margin frame builder.
Type: List<Action<CoreDrawMarginFrame>>
Gets or sets the series builder.
Type: List<Action<ISeries>>
Gets or sets the pie series builder.
Type: List<Action<IPieSeries>>
Gets or sets the gauge series builder.
Type: List<Action<IPieSeries>>
Gets or sets the gauge fill series builder.
Type: List<Action<IPieSeries>>
Gets or sets the Cartesian series builder.
Type: List<Action<ICartesianSeries>>
Gets or sets the stepline series builder.
Type: List<Action<IStepLineSeries>>
Gets or sets the stacked stepline series builder.
Type: List<Action<IStepLineSeries>>
Gets or sets the line series builder.
Type: List<Action<ILineSeries>>
Gets or sets the line series builder.
Type: List<Action<IPolarSeries>>
Gets or sets the line series builder.
Type: List<Action<IPolarLineSeries>>
Gets or sets the line series builder.
Type: List<Action<IPolarSeries>>
Gets or sets the line series builder.
Type: List<Action<IHeatSeries>>
Gets or sets the financial series builder.
Type: List<Action<IFinancialSeries>>
Gets or sets the stacked line series builder.
Type: List<Action<ILineSeries>>
Gets or sets the bar series builder.
Type: List<Action<IBarSeries>>
Gets or sets the column series builder.
Type: List<Action<IBarSeries>>
Gets or sets the row series builder.
Type: List<Action<IBarSeries>>
Gets or sets the stacked bar series builder.
Type: List<Action<IStackedBarSeries>>
Gets or sets the stacked column series builder.
Type: List<Action<IStackedBarSeries>>
Gets or sets the stacked row series builder.
Type: List<Action<IStackedBarSeries>>
Gets or sets the scatter series builder.
Type: List<Action<IScatterSeries>>
Gets or sets the error series builder.
Type: List<Action<IBoxSeries>>
Gets or sets the visual element builder.
Type: Dictionary<Type, Object>
Gets or sets the default tooltip.
Type: Func<IChartTooltip>
Gets or sets the default legend.
Type: Func<IChartLegend>

Methods

// Applies the theme to an axis.
IPlane axis// The axis.
)
// Applies the theme to a series.
ISeries series// The series.
)
// Build a draw amrgin frame based on the theme.
CoreDrawMarginFrame drawMarginFrame// *summary not found*
)
// Gets the color of a series according to the theme.
ISeries series// *summary not found*
)