alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class PolynomialTrendline

    Represents a polynomial trendline that calculates and displays a polynomial regression curve. The polynomial trendline follows the formula: y = a₀ + a₁x + a₂x² + ... + aₙxⁿ, where n is the order.

    Inheritance
    System.Object
    ChartTrendline
    PolynomialTrendline
    Inherited Members
    ChartTrendline.BackwardForecast
    ChartTrendline.BackwardForecastProperty
    ChartTrendline.EnableTooltip
    ChartTrendline.EnableTooltipProperty
    ChartTrendline.ForwardForecast
    ChartTrendline.ForwardForecastProperty
    ChartTrendline.IsVisible
    ChartTrendline.IsVisibleProperty
    ChartTrendline.Label
    ChartTrendline.LabelProperty
    ChartTrendline.MarkerSettings
    ChartTrendline.MarkerSettingsProperty
    ChartTrendline.OnBindingContextChanged()
    ChartTrendline.Opacity
    ChartTrendline.OpacityProperty
    ChartTrendline.ShowMarkers
    ChartTrendline.ShowMarkersProperty
    ChartTrendline.ShowTrackballLabel
    ChartTrendline.ShowTrackballLabelProperty
    ChartTrendline.Stroke
    ChartTrendline.StrokeDashArray
    ChartTrendline.StrokeDashArrayProperty
    ChartTrendline.StrokeProperty
    ChartTrendline.StrokeWidth
    ChartTrendline.StrokeWidthProperty
    ChartTrendline.TooltipTemplate
    ChartTrendline.TooltipTemplateProperty
    ChartTrendline.TrackballLabelTemplate
    ChartTrendline.TrackballLabelTemplateProperty
    Namespace: Syncfusion.Maui.Charts
    Assembly: Syncfusion.Maui.Charts.dll
    Syntax
    public class PolynomialTrendline : ChartTrendline, ITooltipDependent, IMarkerDependent, ICartesianLegendDependent

    Constructors

    PolynomialTrendline()

    Declaration
    public PolynomialTrendline()

    Fields

    OrderProperty

    Identifies the Order bindable property.

    Declaration
    public static readonly BindableProperty OrderProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    Properties

    Order

    Gets or sets the order (degree) of the polynomial trendline. Valid range is 2 to 6. Higher orders provide more flexible curve fitting but may lead to overfitting.

    Declaration
    public int Order { get; set; }
    Property Value
    Type Description
    System.Int32

    The order of the polynomial (default is 2 for quadratic).

    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved