Dundas.SharePoint.Charting.WebParts Send comments on this topic.
SetGradient Method
See Also 
Dundas.Charting.WebControl Namespace > ChartRenderingEngine Class : SetGradient Method


firstColor
The first color used for gradient
secondColor
The second color used for gradient
gradientType
The gradient Type
This method sets gradient type for SVG rendering

Syntax

Visual Basic (Declaration)  
Public Sub SetGradient( _
   ByVal firstColor As Color, _
   ByVal secondColor As Color, _
   ByVal gradientType As GradientType _
) 
Visual Basic (Usage) Copy Code
Dim instance As ChartRenderingEngine
Dim firstColor As Color
Dim secondColor As Color
Dim gradientType As GradientType
 
instance.SetGradient(firstColor, secondColor, gradientType)
C#  
public void SetGradient( 
   Color firstColor,
   Color secondColor,
   GradientType gradientType
)

Parameters

firstColor
The first color used for gradient
secondColor
The second color used for gradient
gradientType
The gradient Type

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