2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.8 Assembly / C1.Win.C1Chart Namespace / GradientStyleEnum Enumeration

In This Topic
    GradientStyleEnum Enumeration
    In This Topic
    Use the members of this enumeration to set the value of the Style.GradientStyle property in the Style class and the PlotArea.GradientStyle property in the PlotArea class.
    Syntax
    'Declaration
     
    Public Enum GradientStyleEnum 
       Inherits System.Enum
    public enum GradientStyleEnum : System.Enum 
    Members
    MemberDescription
    DiagonalFrom left-bottom (BackColor) to right-top (BackColor2).
    DiagonalBackFrom left-top (BackColor) to right-bottom (BackColor2).
    DiagonalBackCenterFrom center (BackColor) to left-top and right-bottom (BackColor2).
    DiagonalCenterFrom center (BackColor) to left-bottom and right-top (BackColor2).
    FromCenterFrom center (BackColor) to corners (BackColor2).
    HorizontalFrom left (BackColor) to right (BackColor2).
    HorizontalCenterFrom center (BackColor) to left and right (BackColor2).
    NoneNo gradient filling.
    RadialFrom center (BackColor) to corners (BackColor2) in radial direction.
    VerticalFrom top (BackColor) to bottom (BackColor2).
    VerticalCenterFrom center (BackColor) to top and bottom (BackColor2).
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             C1.Win.C1Chart.GradientStyleEnum

    See Also