Specifies a gradient pattern to be used for an applicable Chart object.
Gradient Types
Visual Basic (Declaration) | |
---|---|
Public Enum GradientType Inherits Enum |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public enum GradientType : Enum |
Member | Description |
---|---|
None |
No gradient is used. Disabled |
LeftRight |
Gradient is applied from left to right. Specifies a gradient from Left to Right. |
TopBottom |
Gradient is applied from top to bottom. Specifies a gradient from Top to Bottom. |
Center |
Gradient is applied from the center outwards. Specifies a gradient from Center. |
DiagonalLeft |
Gradient is applied diagonally from left to right. Specifies a gradient from Top Left to Bottom Right. |
DiagonalRight |
Gradient is applied diagonally from right to left. Specifies a gradient from Top Right to Bottom Left. |
HorizontalCenter |
Gradient is applied horizontally from the center outwards. Specifies a gradient from Center to Left and Right. |
VerticalCenter |
Gradient is applied vertically from the center outwards. Specifies a gradient from Center to Top and Bottom. |
The GradientType enumeration represents a gradient type, and is used with the BackGradientType property.
For a listing of applicable chart elements see the BackGradientType property.
System.Object
System.ValueType
System.Enum
Dundas.Charting.WinControl.GradientType
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family