XlSparklineGroup.Sparklines Property
In This Article
Provides access to the collection of sparklines contained in the sparkline group.
Namespace: DevExpress.Export.Xl
Assembly: DevExpress.Printing.v24.2.Core.dll
NuGet Package: DevExpress.Printing.Core
#Declaration
public IList<XlSparkline> Sparklines { get; }
#Property Value
Type | Description |
---|---|
IList<Xl |
A IList<Xl |
#Remarks
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.
#Example
Note
A complete sample project is available at https://github.
// 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