alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class LinearTrendline

    Represents a linear trendline that calculates and displays a linear regression line. The linear trendline follows the formula: y = mx + c, where m is the slope and c is the y-intercept. This class follows the ChartSegment OnLayout/OnDraw pattern for calculation and rendering.

    Inheritance
    System.Object
    ChartTrendline
    LinearTrendline
    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 LinearTrendline : ChartTrendline, ITooltipDependent, IMarkerDependent, ICartesianLegendDependent

    Constructors

    LinearTrendline()

    Declaration
    public LinearTrendline()

    Fields

    InterceptProperty

    Identifies the Intercept bindable property.

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

    Properties

    Intercept

    Declaration
    public double Intercept { get; set; }
    Property Value
    Type
    System.Double
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved