Table of Contents

ExcelChart.SetTrendline Method

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

Syntax

Namespace: FlexCel.Core

public abstract void SetTrendline(Int32 chartIndex, Int32 seriesIndex, TChartTrendline trendline)

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
trendline TChartTrendline Trendline definition.

See also