Gets or sets the secondary color of a legend item.
The second color which is used for a gradient
Visual Basic (Declaration) | |
---|---|
Public Property BackGradientEndColor As Color |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Color BackGradientEndColor {get; set;} |
Return Value
A Color structure. The default color is null (Color.Empty).
This property determines the secondary background color of many Chart objects, and is used when gradient colors are being applied.
Only implemented if the LegendItem.Style property is set to LegendSeriesImageStyle.Rectangle.
You can set BackGradientEndColor to any valid ARGB (Alpha, Red, Green, Blue) value.
If hatching is used then the BackGradientEndColor property determines the color of the hatching lines for the relevant chart element.
To use gradient colors for a legend cell's background:
-
Set the primary color using the Color property.
-
Set the secondary color using this BackGradientEndColor property.
-
Set the 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