Dundas Chart for Windows Forms
BackGradientEndColor Property
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Chart Class : BackGradientEndColor Property


Gets or sets the secondary color of the chart.


The second color which is used for a gradient

Syntax

Visual Basic (Declaration)  
Public Property BackGradientEndColor As Color
Visual Basic (Usage) Copy Code
Dim instance As Chart
Dim value As Color
 
instance.BackGradientEndColor = value
 
value = instance.BackGradientEndColor
C#  
public Color BackGradientEndColor {get; set;}

Return Value

A Color structure. The default color is null (Color.Empty).

Remarks

This property determines the secondary background color of many Chart objects, and is used when gradient colors are being applied.

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:

  1. Set the primary color using the BackColor property.

  2. Set the secondary color using this BackGradientEndColor property.

  3. Set the BackGradientType property to the desired gradient style.

Requirements

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

See Also

© 2009 All Rights Reserved.