DundasWinExtensions
AddColoredRange Method
See Also  Send comments on this topic.
DundasWinExtensions Assembly > Dundas.Extensions Namespace > ColoredAreaChartType Class : AddColoredRange Method


series
Series object which colored range to be added to
x1
X value of start of colored range
x2
X value of end of colored range
color
Color of colored range
Static method to add colored range to Series object custom attribute.

Syntax

Visual Basic (Declaration)  
Public Shared Sub AddColoredRange( _
   ByVal series As Series, _
   ByVal x1 As Double, _
   ByVal x2 As Double, _
   ByVal color As Color _
) 
Visual Basic (Usage) Copy Code
Dim series As Series
Dim x1 As Double
Dim x2 As Double
Dim color As Color
 
ColoredAreaChartType.AddColoredRange(series, x1, x2, color)
C#  
public static void AddColoredRange( 
   Series series,
   double x1,
   double x2,
   Color color
)

Parameters

series
Series object which colored range to be added to
x1
X value of start of colored range
x2
X value of end of colored range
color
Color of colored range

Exceptions

Exception Description
ArgumentNullException Thrown when series parameter is null.

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.