ChartPlotBand Class
Definition
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
Constructors
| Name | Description |
|---|---|
| ChartPlotBand | No summary available. |
ChartPlotBand Constructor
public ChartPlotBand()
Methods
| Name | Description |
|---|---|
| Bind (8 overloads) | Binds a Avalonia.AvaloniaProperty to an Avalonia.Data.BindingBase. Inherited from AvaloniaObject. |
| CheckAccess | Returns 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. |
| CoerceValue | Coerces the specified Avalonia.AvaloniaProperty. Inherited from AvaloniaObject. |
| Equals | Compares two objects using reference equality. Inherited from AvaloniaObject. |
| GetBaseValue | Inherited from AvaloniaObject. |
| GetHashCode | Gets the hash code for the object. Inherited from AvaloniaObject. |
| GetValue (3 overloads) | Gets a Avalonia.AvaloniaProperty value. Inherited from AvaloniaObject. |
| IsAnimating | Checks whether a Avalonia.AvaloniaProperty is animating. Inherited from AvaloniaObject. |
| IsSet | Checks 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. |
| VerifyAccess | Checks that the current thread is the UI thread and throws if not. Inherited from AvaloniaObject. |
Properties
| Name | Description |
|---|---|
| End | Gets or sets the end value of the plot band on the axis. |
| Fill | Gets or sets the fill brush for the plot band. |
| Foreground | Gets or sets the foreground brush for the plot band text. |
| HorizontalTextAlignment | Gets or sets the horizontal alignment of the plot band text. |
| IsRepeating | Gets or sets whether the plot band should repeat at regular intervals. |
| IsVisible | Gets or sets whether the plot band is visible. |
| Opacity | Gets or sets the opacity of the plot band fill. |
| RenderAboveSeries | Gets or sets whether the plot band should render above the series. |
| RepeatEvery | Gets or sets the interval at which the plot band repeats. |
| RepeatUntil | Gets or sets the value until which the plot band should repeat. |
| Start | Gets or sets the start value of the plot band on the axis. |
| Stroke | Gets or sets the stroke brush for the plot band border. |
| StrokeThickness | Gets or sets the stroke thickness of the plot band border. |
| Text | Gets or sets the text to display within the plot band. |
| TextFontSize | Gets or sets the font size for the plot band text. |
| VerticalTextAlignment | Gets or sets the vertical alignment of the plot band text. |
| Dispatcher | Returns the Avalonia.AvaloniaObject.Dispatcher that this Avalonia.AvaloniaObject is associated with. Inherited from AvaloniaObject. |
| Item | Inherited from AvaloniaObject. |
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
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
| Name | Description |
|---|---|
| PropertyChanged | Raised when a Avalonia.AvaloniaProperty value changes on this object. Inherited from AvaloniaObject. |