Search Results for

    Show / Hide Table of Contents

    IExcelChart.GetTrendline Method

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

    Syntax

    Unit: FlexCel.Core

    function IExcelChart.GetTrendline(const chartIndex: Integer; const seriesIndex: Integer): IChartTrendline; virtual; abstract;

    Parameters

    <-> Parameter Type Description
    const chartIndex Integer Index of the chart (1 based). Must be bigger than 0 and less-or-equal than SubchartCount
    const seriesIndex Integer 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

    • IExcelChart
    In This Article
    Back to top FlexCel Studio for VCL and FireMonkey v7.24
    © 2002 - 2025 tmssoftware.com