Dundas Chart for ASP.NET
BackGradientEndColor Property
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > Legend Class : BackGradientEndColor Property


Gets or sets the secondary color of a legend.


Legend background gradient end color

Syntax

Visual Basic (Declaration)  
Public Property BackGradientEndColor As Color
Visual Basic (Usage) Copy Code
Dim instance As Legend
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 legend.

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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.