Gets or sets the orientation of a legend item.
A type for the background gradient
Visual Basic (Declaration) | |
---|---|
Public Property BackGradientType As GradientType |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public GradientType BackGradientType {get; set;} |
Return Value
A GradientType integer enumeration. The default value is None.
This property determines if a chart element will display a gradient, as well as the orientation of the gradient (if used).
Only implemented if the LegendItem.Style property is set to LegendSeriesImageStyle.Rectangle.
For a listing of available patterns refer to the GradientType enumeration.
To use gradient colors:
-
Set the primary color using the Color property.
-
Set the secondary color using the BackGradientEndColor property.
-
Set this BackGradientType property to the desired gradient style.
Note: This property is applicable only to LegendCells, with a CellType of SeriesSymbol, or Image.
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