Back to Devexpress

XlSparkline Class

corelibraries-devexpress-dot-export-dot-xl-520a0b45.md

latest1.6 KB
Original Source

XlSparkline Class

A single sparkline in the sparkline group.

Namespace : DevExpress.Export.Xl

Assembly : DevExpress.Printing.v25.2.Core.dll

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
public class XlSparkline
vb
Public Class XlSparkline

Example

Note

A complete sample project is available at https://github.com/DevExpress-Examples/excel-export-api-examples

csharp
// 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)));
vb
' 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)))

Inheritance

Object XlSparkline

See Also

XlSparkline Members

DevExpress.Export.Xl Namespace