Skip to main content

ChartPlotBand Class

Definition​

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

Represents a plot band (strip line) that shades a region of the chart's plot area. Plot bands are useful for highlighting ranges, target zones, or threshold areas.

public class ChartPlotBand

Inheritance: object -> AvaloniaObject -> ChartPlotBand

Constructors​

NameDescription
ChartPlotBandNo summary available.

ChartPlotBand Constructor​

public ChartPlotBand()

Methods​

NameDescription
Bind (8 overloads)Binds a Avalonia.AvaloniaProperty to an Avalonia.Data.BindingBase. Inherited from AvaloniaObject.
CheckAccessReturns a value indicating whether the current thread is the UI thread. Inherited from AvaloniaObject.
ClearValue (4 overloads)Clears a Avalonia.AvaloniaProperty's local value. Inherited from AvaloniaObject.
CoerceValueCoerces the specified Avalonia.AvaloniaProperty. Inherited from AvaloniaObject.
EqualsCompares two objects using reference equality. Inherited from AvaloniaObject.
GetBaseValueInherited from AvaloniaObject.
GetHashCodeGets the hash code for the object. Inherited from AvaloniaObject.
GetValue (3 overloads)Gets a Avalonia.AvaloniaProperty value. Inherited from AvaloniaObject.
IsAnimatingChecks whether a Avalonia.AvaloniaProperty is animating. Inherited from AvaloniaObject.
IsSetChecks whether a Avalonia.AvaloniaProperty is set on this object. Inherited from AvaloniaObject.
SetCurrentValue (2 overloads)Sets the value of a dependency property without changing its value source. Inherited from AvaloniaObject.
SetValue (3 overloads)Sets a Avalonia.AvaloniaProperty value. Inherited from AvaloniaObject.
VerifyAccessChecks that the current thread is the UI thread and throws if not. Inherited from AvaloniaObject.

Properties​

NameDescription
DispatcherReturns the Avalonia.AvaloniaObject.Dispatcher that this Avalonia.AvaloniaObject is associated with. Inherited from AvaloniaObject.
EndGets or sets the end value of the plot band on the axis.
FillGets or sets the fill brush for the plot band.
ForegroundGets or sets the foreground brush for the plot band text.
HorizontalTextAlignmentGets or sets the horizontal alignment of the plot band text.
IsRepeatingGets or sets whether the plot band should repeat at regular intervals.
IsVisibleGets or sets whether the plot band is visible.
ItemInherited from AvaloniaObject.
OpacityGets or sets the opacity of the plot band fill.
RenderAboveSeriesGets or sets whether the plot band should render above the series.
RepeatEveryGets or sets the interval at which the plot band repeats.
RepeatUntilGets or sets the value until which the plot band should repeat.
StartGets or sets the start value of the plot band on the axis.
StrokeGets or sets the stroke brush for the plot band border.
StrokeThicknessGets or sets the stroke thickness of the plot band border.
TextGets or sets the text to display within the plot band.
TextFontSizeGets or sets the font size for the plot band text.
VerticalTextAlignmentGets or sets the vertical alignment of the plot band text.

End Property​

Gets or sets the end value of the plot band on the axis.

public double End { get; set; }

Fill Property​

Gets or sets the fill brush for the plot band.

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

Foreground Property​

Gets or sets the foreground brush for the plot band text.

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

HorizontalTextAlignment Property​

Gets or sets the horizontal alignment of the plot band text.

public Avalonia.Controls.Charts.PlotBandTextAlignment HorizontalTextAlignment { get; set; }

IsRepeating Property​

Gets or sets whether the plot band should repeat at regular intervals.

public bool IsRepeating { get; set; }

IsVisible Property​

Gets or sets whether the plot band is visible.

public bool IsVisible { get; set; }

Opacity Property​

Gets or sets the opacity of the plot band fill.

public double Opacity { get; set; }

RenderAboveSeries Property​

Gets or sets whether the plot band should render above the series.

public bool RenderAboveSeries { get; set; }

RepeatEvery Property​

Gets or sets the interval at which the plot band repeats.

public double RepeatEvery { get; set; }

RepeatUntil Property​

Gets or sets the value until which the plot band should repeat.

public double RepeatUntil { get; set; }

Start Property​

Gets or sets the start value of the plot band on the axis.

public double Start { get; set; }

Stroke Property​

Gets or sets the stroke brush for the plot band border.

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

StrokeThickness Property​

Gets or sets the stroke thickness of the plot band border.

public double StrokeThickness { get; set; }

Text Property​

Gets or sets the text to display within the plot band.

public string Text { get; set; }

TextFontSize Property​

Gets or sets the font size for the plot band text.

public double TextFontSize { get; set; }

VerticalTextAlignment Property​

Gets or sets the vertical alignment of the plot band text.

public Avalonia.Controls.Charts.PlotBandTextAlignment VerticalTextAlignment { get; set; }

Fields​

NameDescription
EndPropertyIdentifies the Avalonia.Controls.Charts.ChartPlotBand.End Avalonia property.
FillPropertyIdentifies the Avalonia.Controls.Charts.ChartPlotBand.Fill Avalonia property.
ForegroundPropertyIdentifies the Avalonia.Controls.Charts.ChartPlotBand.Foreground Avalonia property.
HorizontalTextAlignmentPropertyIdentifies the Avalonia.Controls.Charts.ChartPlotBand.HorizontalTextAlignment Avalonia property.
IsRepeatingPropertyIdentifies the Avalonia.Controls.Charts.ChartPlotBand.IsRepeating Avalonia property.
IsVisiblePropertyIdentifies the Avalonia.Controls.Charts.ChartPlotBand.IsVisible Avalonia property.
OpacityPropertyIdentifies the Avalonia.Controls.Charts.ChartPlotBand.Opacity Avalonia property.
RenderAboveSeriesPropertyIdentifies the Avalonia.Controls.Charts.ChartPlotBand.RenderAboveSeries Avalonia property.
RepeatEveryPropertyIdentifies the Avalonia.Controls.Charts.ChartPlotBand.RepeatEvery Avalonia property.
RepeatUntilPropertyIdentifies the Avalonia.Controls.Charts.ChartPlotBand.RepeatUntil Avalonia property.
StartPropertyIdentifies the Avalonia.Controls.Charts.ChartPlotBand.Start Avalonia property.
StrokePropertyIdentifies the Avalonia.Controls.Charts.ChartPlotBand.Stroke Avalonia property.
StrokeThicknessPropertyIdentifies the Avalonia.Controls.Charts.ChartPlotBand.StrokeThickness Avalonia property.
TextFontSizePropertyIdentifies the Avalonia.Controls.Charts.ChartPlotBand.TextFontSize Avalonia property.
TextPropertyIdentifies the Avalonia.Controls.Charts.ChartPlotBand.Text Avalonia property.
VerticalTextAlignmentPropertyIdentifies the Avalonia.Controls.Charts.ChartPlotBand.VerticalTextAlignment Avalonia property.

EndProperty Field​

Identifies the Avalonia.Controls.Charts.ChartPlotBand.End Avalonia property.

public Avalonia.StyledProperty<double> EndProperty

FillProperty Field​

Identifies the Avalonia.Controls.Charts.ChartPlotBand.Fill Avalonia property.

public Avalonia.StyledProperty<Avalonia.Media.IBrush> FillProperty

ForegroundProperty Field​

Identifies the Avalonia.Controls.Charts.ChartPlotBand.Foreground Avalonia property.

public Avalonia.StyledProperty<Avalonia.Media.IBrush> ForegroundProperty

HorizontalTextAlignmentProperty Field​

Identifies the Avalonia.Controls.Charts.ChartPlotBand.HorizontalTextAlignment Avalonia property.

public Avalonia.StyledProperty<Avalonia.Controls.Charts.PlotBandTextAlignment> HorizontalTextAlignmentProperty

IsRepeatingProperty Field​

Identifies the Avalonia.Controls.Charts.ChartPlotBand.IsRepeating Avalonia property.

public Avalonia.StyledProperty<bool> IsRepeatingProperty

IsVisibleProperty Field​

Identifies the Avalonia.Controls.Charts.ChartPlotBand.IsVisible Avalonia property.

public Avalonia.StyledProperty<bool> IsVisibleProperty

OpacityProperty Field​

Identifies the Avalonia.Controls.Charts.ChartPlotBand.Opacity Avalonia property.

public Avalonia.StyledProperty<double> OpacityProperty

RenderAboveSeriesProperty Field​

Identifies the Avalonia.Controls.Charts.ChartPlotBand.RenderAboveSeries Avalonia property.

public Avalonia.StyledProperty<bool> RenderAboveSeriesProperty

RepeatEveryProperty Field​

Identifies the Avalonia.Controls.Charts.ChartPlotBand.RepeatEvery Avalonia property.

public Avalonia.StyledProperty<double> RepeatEveryProperty

RepeatUntilProperty Field​

Identifies the Avalonia.Controls.Charts.ChartPlotBand.RepeatUntil Avalonia property.

public Avalonia.StyledProperty<double> RepeatUntilProperty

StartProperty Field​

Identifies the Avalonia.Controls.Charts.ChartPlotBand.Start Avalonia property.

public Avalonia.StyledProperty<double> StartProperty

StrokeProperty Field​

Identifies the Avalonia.Controls.Charts.ChartPlotBand.Stroke Avalonia property.

public Avalonia.StyledProperty<Avalonia.Media.IBrush> StrokeProperty

StrokeThicknessProperty Field​

Identifies the Avalonia.Controls.Charts.ChartPlotBand.StrokeThickness Avalonia property.

public Avalonia.StyledProperty<double> StrokeThicknessProperty

TextFontSizeProperty Field​

Identifies the Avalonia.Controls.Charts.ChartPlotBand.TextFontSize Avalonia property.

public Avalonia.StyledProperty<double> TextFontSizeProperty

TextProperty Field​

Identifies the Avalonia.Controls.Charts.ChartPlotBand.Text Avalonia property.

public Avalonia.StyledProperty<string> TextProperty

VerticalTextAlignmentProperty Field​

Identifies the Avalonia.Controls.Charts.ChartPlotBand.VerticalTextAlignment Avalonia property.

public Avalonia.StyledProperty<Avalonia.Controls.Charts.PlotBandTextAlignment> VerticalTextAlignmentProperty

Events​

NameDescription
PropertyChangedRaised when a Avalonia.AvaloniaProperty value changes on this object. Inherited from AvaloniaObject.