Class ChartTrendline
Defines the collection of trendlines that are used to predict the trend.
Inherited Members
Namespace: Syncfusion.Blazor.Charts
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChartTrendline : ChartSubComponent, ISubcomponentTracker, IChartElement
Constructors
ChartTrendline()
Declaration
public ChartTrendline()
Properties
AccessibilityDescription
Gets or sets the accessibility description for the ChartTrendline.
Declaration
public string AccessibilityDescription { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts a string that defines the accessibility description for the ChartTrendline. The default value is an empty string. |
Remarks
Use this property to provide an accessibility description for the ChartTrendline.
AccessibilityDescriptionFormat
Gets or sets the format for the accessibility description of the ChartTrendline.
Declaration
public string AccessibilityDescriptionFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts a string that defines the format for the accessibility description of the ChartTrendline. The default value is null. |
Remarks
Use this property to provide a format for the accessibility description of the ChartTrendline. The AccessibilityDescription property is used to provide accessibility information statically. But this AccessibilityDescriptionFormat property allows you to provide dynamic information based on the ChartTrendline data. For example, the format "${series.name} : ${point.x}" displays the series name and x-value of the point in the accessibility description.
AccessibilityRole
Gets or sets the accessibility role for the ChartTrendline.
Declaration
public string AccessibilityRole { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts a string that defines the accessibility role for the ChartTrendline. The default value is null. |
Remarks
Use this property to provide an accessibility role for the ChartTrendline.
Animation
Sets and gets the dash array of the segment series.
Declaration
public ChartTrendlineAnimation Animation { get; set; }
Property Value
Type |
---|
ChartTrendlineAnimation |
BackwardForecast
Sets and gets the dash array of the segment series.
Declaration
public double BackwardForecast { get; set; }
Property Value
Type |
---|
System.Double |
DashArray
Sets and gets the color of the segment series.
Declaration
public string DashArray { get; set; }
Property Value
Type |
---|
System.String |
EnableTooltip
Sets and gets the dash array of the segment series.
Declaration
public bool EnableTooltip { get; set; }
Property Value
Type |
---|
System.Boolean |
Fill
Sets and gets the dash array of the segment series.
Declaration
public string Fill { get; set; }
Property Value
Type |
---|
System.String |
Focusable
Gets or sets the accessibility keyboard navigation focus option for the ChartTrendline.
Declaration
public bool Focusable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Accepts the boolean value to enable or disable the keyboard navigation for the ChartTrendline. The default value is true. |
Remarks
Use this property to toggle the keyboard navigation focus for the ChartTrendline.
ForwardForecast
Sets and gets the dash array of the segment series.
Declaration
public double ForwardForecast { get; set; }
Property Value
Type |
---|
System.Double |
Intercept
Sets and gets the dash array of the segment series.
Declaration
public double Intercept { get; set; }
Property Value
Type |
---|
System.Double |
LegendShape
Sets and gets the dash array of the segment series.
Declaration
public LegendShape LegendShape { get; set; }
Property Value
Type |
---|
LegendShape |
Marker
Sets and gets the dash array of the segment series.
Declaration
public ChartTrendlineMarker Marker { get; set; }
Property Value
Type |
---|
ChartTrendlineMarker |
Name
Sets and gets the value of the segment series.
Declaration
public string Name { get; set; }
Property Value
Type |
---|
System.String |
Period
Sets and gets the dash array of the segment series.
Declaration
public double Period { get; set; }
Property Value
Type |
---|
System.Double |
PolynomialOrder
Sets and gets the dash array of the segment series.
Declaration
public double PolynomialOrder { get; set; }
Property Value
Type |
---|
System.Double |
RendererKey
Declaration
public string RendererKey { get; set; }
Property Value
Type |
---|
System.String |
RendererType
Declaration
public Type RendererType { get; set; }
Property Value
Type |
---|
System.Type |
Type
Sets and gets the dash array of the segment series.
Declaration
public TrendlineTypes Type { get; set; }
Property Value
Type |
---|
TrendlineTypes |
Visible
Sets and gets the dash array of the segment series.
Declaration
public bool Visible { get; set; }
Property Value
Type |
---|
System.Boolean |
Width
Sets and gets the dash array of the segment series.
Declaration
public double Width { get; set; }
Property Value
Type |
---|
System.Double |
Methods
OnInitialized()
Declaration
protected override void OnInitialized()