Search Results for

    Show / Hide Table of Contents

    XlsxChart.GetTrendline Method

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

    Syntax

    Namespace: FlexCel.XlsAdapter

    public override 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 ExcelChart.SubchartCount
    seriesIndex Int32 Index of the series in the chart (1 based). Must be bigger than 0 and less-or-equal than ExcelChart.SeriesInSubchart

    Returns

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

    See also

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