corelibraries-devexpress-dot-export-dot-xl-520a0b45.md
A single sparkline in the sparkline group.
Namespace : DevExpress.Export.Xl
Assembly : DevExpress.Printing.v25.2.Core.dll
NuGet Package : DevExpress.Printing.Core
public class XlSparkline
Public Class XlSparkline
Note
A complete sample project is available at https://github.com/DevExpress-Examples/excel-export-api-examples
// 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)));
' Add one more sparkline to the existing group.
Dim rowIndex As Integer = row.RowIndex
group.Sparklines.Add(New XlSparkline(XlCellRange.FromLTRB(1, rowIndex, 4, rowIndex), XlCellRange.FromLTRB(5, rowIndex, 5, rowIndex)))
Object XlSparkline
See Also