Trendline Class
Definition
Represents a trendline that can be added to a Cartesian series.
public class Trendline
Constructors
| Name | Description |
|---|---|
| Trendline | No summary available. |
Trendline Constructor
public Trendline()
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 |
|---|---|
| BackwardForecast | Gets or sets the backward forecasting value. |
| ForwardForecast | Gets or sets the forward forecasting value. |
| IsVisible | Gets or sets the visibility of the trendline. |
| Period | Gets or sets the moving average period. |
| PolynomialOrder | Gets or sets the polynomial order. |
| Stroke | Gets or sets the stroke brush of the trendline. |
| StrokeDashStyle | Gets or sets the dash style of the trendline. |
| StrokeLineCap | Gets or sets the stroke line cap of the trendline. |
| StrokeLineJoin | Gets or sets the stroke line join of the trendline. |
| StrokeThickness | Gets or sets the stroke thickness of the trendline. |
| Type | Gets or sets the type of the trendline. |
| Dispatcher | Returns the Avalonia.AvaloniaObject.Dispatcher that this Avalonia.AvaloniaObject is associated with. Inherited from AvaloniaObject. |
| Item | Inherited from AvaloniaObject. |
BackwardForecast Property
Gets or sets the backward forecasting value.
public double BackwardForecast { get; set; }
ForwardForecast Property
Gets or sets the forward forecasting value.
public double ForwardForecast { get; set; }
IsVisible Property
Gets or sets the visibility of the trendline.
public bool IsVisible { get; set; }
Period Property
Gets or sets the moving average period.
public int Period { get; set; }
PolynomialOrder Property
Gets or sets the polynomial order.
public int PolynomialOrder { get; set; }
Stroke Property
Gets or sets the stroke brush of the trendline.
public Avalonia.Media.IBrush Stroke { get; set; }
StrokeDashStyle Property
Gets or sets the dash style of the trendline.
public Avalonia.Media.DashStyle StrokeDashStyle { get; set; }
StrokeLineCap Property
Gets or sets the stroke line cap of the trendline.
public Avalonia.Media.PenLineCap StrokeLineCap { get; set; }
StrokeLineJoin Property
Gets or sets the stroke line join of the trendline.
public Avalonia.Media.PenLineJoin StrokeLineJoin { get; set; }
StrokeThickness Property
Gets or sets the stroke thickness of the trendline.
public double StrokeThickness { get; set; }
Type Property
Gets or sets the type of the trendline.
public Avalonia.Controls.Charts.TrendlineType Type { get; set; }
Fields
BackwardForecastProperty Field
Identifies the Avalonia.Controls.Charts.Trendline.BackwardForecast Avalonia property.
public Avalonia.StyledProperty<double> BackwardForecastProperty
ForwardForecastProperty Field
Identifies the Avalonia.Controls.Charts.Trendline.ForwardForecast Avalonia property.
public Avalonia.StyledProperty<double> ForwardForecastProperty
IsVisibleProperty Field
Identifies the Avalonia.Controls.Charts.Trendline.IsVisible Avalonia property.
public Avalonia.StyledProperty<bool> IsVisibleProperty
PeriodProperty Field
Identifies the Avalonia.Controls.Charts.Trendline.Period Avalonia property.
public Avalonia.StyledProperty<int> PeriodProperty
PolynomialOrderProperty Field
Identifies the Avalonia.Controls.Charts.Trendline.PolynomialOrder Avalonia property.
public Avalonia.StyledProperty<int> PolynomialOrderProperty
StrokeDashStyleProperty Field
Identifies the Avalonia.Controls.Charts.Trendline.StrokeDashStyle Avalonia property.
public Avalonia.StyledProperty<Avalonia.Media.DashStyle> StrokeDashStyleProperty
StrokeLineCapProperty Field
Identifies the Avalonia.Controls.Charts.Trendline.StrokeLineCap Avalonia property.
public Avalonia.StyledProperty<Avalonia.Media.PenLineCap> StrokeLineCapProperty
StrokeLineJoinProperty Field
Identifies the Avalonia.Controls.Charts.Trendline.StrokeLineJoin Avalonia property.
public Avalonia.StyledProperty<Avalonia.Media.PenLineJoin> StrokeLineJoinProperty
StrokeProperty Field
Identifies the Avalonia.Controls.Charts.Trendline.Stroke Avalonia property.
public Avalonia.StyledProperty<Avalonia.Media.IBrush> StrokeProperty
StrokeThicknessProperty Field
Identifies the Avalonia.Controls.Charts.Trendline.StrokeThickness Avalonia property.
public Avalonia.StyledProperty<double> StrokeThicknessProperty
TypeProperty Field
Identifies the Avalonia.Controls.Charts.Trendline.Type Avalonia property.
public Avalonia.StyledProperty<Avalonia.Controls.Charts.TrendlineType> TypeProperty
Events
| Name | Description |
|---|---|
| PropertyChanged | Raised when a Avalonia.AvaloniaProperty value changes on this object. Inherited from AvaloniaObject. |