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


palette
Palette to get the colors for.
Ruturn array of colors for the specified palette. Number of colors returned varies depending on the palette selected.

Syntax

Visual Basic (Declaration)  
Public Shared Function GetPaletteColors( _
   ByVal palette As ChartColorPalette _
) As Color()
Visual Basic (Usage) Copy Code
Dim palette As ChartColorPalette
Dim value() As Color
 
value = ChartPaletteColors.GetPaletteColors(palette)
C#  
public static Color[] GetPaletteColors( 
   ChartColorPalette palette
)

Parameters

palette
Palette to get the colors for.

Return Value

Array of colors.

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.