Back to Devexpress

SparklineGroup.SeriesColor Property

officefileapi-devexpress-dot-spreadsheet-dot-sparklinegroup-f83aba04.md

latest2.8 KB
Original Source

SparklineGroup.SeriesColor Property

Gets or sets the color for each sparkline in the sparkline group.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
Color SeriesColor { get; set; }
vb
Property SeriesColor As Color

Property Value

TypeDescription
Color

A Color object that specifies the sparkline color.

|

Remarks

You can also highlight important data points (such as high, low, first, last and negative points) on the sparkline chart by using the SparklineGroup.Points property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SeriesColor property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

spreadsheet-document-api-chart-examples/CS/SpreadsheetDocServerChartAPISamples/CodeExamples/SparklineActions.cs#L57

csharp
// Set the sparkline color.
lineGroup.SeriesColor = Color.FromArgb(0x1F, 0x49, 0x7D);

spreadsheet-document-api-chart-examples/VB/SpreadsheetDocServerChartAPISamples/CodeExamples/SparklineActions.vb#L55

vb
' Set the sparkline color.
lineGroup.SeriesColor = Color.FromArgb(&H1F, &H49, &H7D)

See Also

Points

SparklineGroup Interface

SparklineGroup Members

DevExpress.Spreadsheet Namespace