menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartTrendline - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartTrendline

    Inheritance
    System.Object
    ChartTrendline
    Namespace: Com.Syncfusion.Charts
    Assembly: Syncfusion.SfChart.Android.dll
    Syntax
    public class ChartTrendline : Object

    Constructors

    ChartTrendline()

    Declaration
    public ChartTrendline()

    Properties

    BackwardForecast

    Gets or sets the backward forecast for the ChartTrendline.

    Declaration
    public double BackwardForecast { get; set; }
    Property Value
    Type
    System.Double

    ForwardForecast

    Gets or sets the forward forecast for the ChartTrendline.

    Declaration
    public double ForwardForecast { get; set; }
    Property Value
    Type
    System.Double

    Intercept

    Gets the intercept value of ChartTrendline.

    Declaration
    public double Intercept { get; }
    Property Value
    Type
    System.Double

    Label

    Gets or sets the text for the ChartTrendline legend label.

    Declaration
    public string Label { get; set; }
    Property Value
    Type
    System.String

    LegendIcon

    Gets or sets the icon type for the ChartTrendline legend.

    Declaration
    public ChartLegendIcon LegendIcon { get; set; }
    Property Value
    Type
    ChartLegendIcon

    PathEffect

    Gets or sets the PathEffect of the ChartTrendline.

    Declaration
    public PathEffect PathEffect { get; set; }
    Property Value
    Type
    Android.Graphics.PathEffect

    PolynomialOrder

    Gets or sets the Polynomial Order for the polynomial ChartTrendline, it calculate the order based equation.

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

    PolynomialSlopes

    Gets the polynomial slopes of ChartTrendline.

    Declaration
    public double[] PolynomialSlopes { get; }
    Property Value
    Type
    System.Double[]

    Slope

    Gets the slope of the ChartTrendline..

    Declaration
    public double Slope { get; }
    Property Value
    Type
    System.Double

    StrokeColor

    Gets or sets the stroke color for ChartTrendline.

    Declaration
    public Color StrokeColor { get; set; }
    Property Value
    Type
    Android.Graphics.Color

    StrokeWidth

    Gets or sets the stroke width of the ChartTrendline.

    Declaration
    public float StrokeWidth { get; set; }
    Property Value
    Type
    System.Single

    Type

    Gets or sets the ChartTrendline types.

    Declaration
    public ChartTrendlineType Type { get; set; }
    Property Value
    Type
    ChartTrendlineType

    Visibility

    Gets or sets a value indicating whether the ChartTrendline is visible or not.

    Declaration
    public Visibility Visibility { get; set; }
    Property Value
    Type
    Visibility

    VisibilityOnLegend

    Gets or sets a value indicating whether to display the ChartTrendline legend or not.

    Declaration
    public Visibility VisibilityOnLegend { get; set; }
    Property Value
    Type
    Visibility

    Methods

    NaturalSpline(List<Double>, List<Double>, out Double[])

    Coefficient Of Natural Spline Segment

    Declaration
    protected void NaturalSpline(List<double> xValues, List<double> yValues, out double[] yCoef)
    Parameters
    Type Name Description
    System.Collections.Generic.List<System.Double> xValues
    System.Collections.Generic.List<System.Double> yValues
    System.Double[] yCoef
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved