Skip to main content

IPlotAreaBackgroundChart Interface

Definition

Assembly:Avalonia.Controls.Charts
Package:Avalonia.Controls.Charts

Exposes chart-level plot-area background styling for chart types with a dedicated plot rectangle.

public interface IPlotAreaBackgroundChart

Remarks

Implement this contract only when the chart has a clear plot area distinct from the whole control background, such as Cartesian, financial, carpet, or Venn-like layout areas.

Properties

NameDescription
PlotAreaBackgroundGets or sets the background brush for the plot area only.

PlotAreaBackground Property

Gets or sets the background brush for the plot area only.

public Avalonia.Media.IBrush PlotAreaBackground { get; set; }

Remarks

This brush is intentionally scoped to the data/plot surface. Use the control background for whole-chart background styling.