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


firstColor
secondColor
gradientType
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 ChartGraphics
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
secondColor
gradientType

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.