Dundas Chart for ASP.NET
SetGradient Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl.Svg Namespace > SvgChartGraphics Class : SetGradient Method


firstColor
The first gradient color
secondColor
The second gradient color
gradientType
The gradient type
Set Gradient colors and type

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 SvgChartGraphics
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 gradient color
secondColor
The second gradient color
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

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