Export (0) Print
Expand All
Expand Minimize

GradientStyle Enumeration

Specifies a gradient style to be used for a chart element.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public enum GradientStyle

Member nameDescription
CenterGradient is applied from the center outwards.
DiagonalLeftGradient is applied diagonally from left to right.
DiagonalRightGradient is applied diagonally from right to left.
HorizontalCenterGradient is applied horizontally from the center outwards.
LeftRightGradient is applied from left to right.
NoneNo gradient is applied.
TopBottomGradient is applied from top to bottom.
VerticalCenterGradient is applied vertically from the center outwards.

The GradientStyle enumeration represents a gradient style, and is used with the BackGradientStyle property of the Chart.

.NET Framework

Supported in: 4.6, 4.5, 4
© 2015 Microsoft