Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GradientStyle Enumeration
Collapse the table of content
Expand the table of content

GradientStyle Enumeration

.NET Framework 4.6 and 4.5

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