Search Results for

    Show / Hide Table of Contents

    ExcelChart.GetTrendline Method

    Gets a trendline for a chart. This method is only implemented for xlsx charts.

    Syntax

    Namespace: FlexCel.Core

    public abstract TChartTrendline GetTrendline(Int32 chartIndex, Int32 seriesIndex)

    Parameters

    <-> Parameter Type Description
    chartIndex Int32 Index of the chart (1 based). Must be bigger than 0 and less-or-equal than SubchartCount
    seriesIndex Int32 Index of the series in the chart (1 based). Must be bigger than 0 and less-or-equal than SeriesInSubchart

    Returns

    The trendline definition if there is one, null otherwise. For xls charts this method will always return null.

    See also

    • ExcelChart
    In This Article
    Back to top FlexCel Studio for the .NET Framework v7.24.0.0
    © 2002 - 2025 tmssoftware.com