Table of Contents

XlsxChart.SetTrendline Method

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

Syntax

Namespace: FlexCel.XlsAdapter

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

See also