Use the members of this enumeration to set the value of the GradientStyle property in the Style class and the GradientStyle property in the PlotArea class.

Namespace:  C1.Win.C1Chart
Assembly:  C1.Win.C1Chart.2 (in C1.Win.C1Chart.2.dll)

Syntax

C#
public enum GradientStyleEnum
Visual Basic
Public Enumeration GradientStyleEnum

Members

Member nameValueDescription
None0 No gradient filling.
Horizontal1 From left (BackColor) to right (BackColor2).
HorizontalCenter2 From center (BackColor) to left and right (BackColor2).
Vertical3 From top (BackColor) to bottom (BackColor2).
VerticalCenter4 From center (BackColor) to top and bottom (BackColor2).
Diagonal5 From left-bottom (BackColor) to right-top (BackColor2).
DiagonalCenter6 From center (BackColor) to left-bottom and right-top (BackColor2).
DiagonalBack7 From left-top (BackColor) to right-bottom (BackColor2).
DiagonalBackCenter8 From center (BackColor) to left-top and right-bottom (BackColor2).
Radial9 From center (BackColor) to corners (BackColor2) in radial direction.
FromCenter10 From center (BackColor) to corners (BackColor2).

See Also