Skip to main content
A newer version of this page is available. .

SparklineOptions.ViewType Property

Gets or sets a sparkline view type.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v18.2.Core.dll

Declaration

[DefaultValue(SparklineViewType.Line)]
public SparklineViewType ViewType { get; set; }

Property Value

Type Default Description
SparklineViewType **Line**

A SparklineViewType enumeration value that specifies the sparkline view type.

Available values:

Name Description
Line

Sparkline data points are represented as a line.

Sparkline_ViewType_Lined

Area

Sparkline data points are represented as area.

Sparkline_ViewType_Area

Bar

Sparkline data points are represented as bars.

Sparkline_ViewType_Bars

WinLoss

Sparkline data points are represented as win and loss squares.

Sparkline_ViewType_WinLoss

Property Paths

You can access this nested property as listed below:

Object Type Path to ViewType
Card
.SparklineOptions.ViewType
GridSparklineColumn
.SparklineOptions.ViewType
See Also