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


Gets or sets the orientation of the gradient, and also determines whether or not a gradient is used.


Data point background gradient type.

Syntax

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

Return Value

A GradientType integer enumeration. The default value is None.

Remarks

This property determines if a data point will display a gradient, as well as the orientation of the gradient (if used).

For a listing of available patterns refer to the GradientType enumeration.

To use gradient colors for a data point or series' background:

  1. Set the primary color using the Color 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.