XlSparklineGroup.Sparklines Property

Provides access to the collection of sparklines contained in the sparkline group.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v21.1.Core.dll


public IList<XlSparkline> Sparklines { get; }

Property Value

Type Description

A IList<XlSparkline> object that is a collection of sparklines.


A sparkline group consists of one or more sparkline charts that are stored within the collection returned by the Sparklines property. Use the generic collection’s Add method to add a new sparkline.


// Add one more sparkline to the existing group.
int rowIndex = row.RowIndex;
group.Sparklines.Add(new XlSparkline(XlCellRange.FromLTRB(1, rowIndex, 4, rowIndex), XlCellRange.FromLTRB(5, rowIndex, 5, rowIndex)));
See Also