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


Causes the setting of the automatically assigned series and data point colors to allow programmatic access at runtime.


Applies palette colors to series or data points.

Syntax

Visual Basic (Declaration)  
Public Sub ApplyPaletteColors() 
Visual Basic (Usage) Copy Code
Dim instance As Chart
 
instance.ApplyPaletteColors()
C#  
public void ApplyPaletteColors()

Remarks

When the chart colors are automatically assigned at runtime, there is no way to know what the colors will be prior to chart rendering, and the Color property of an automatically assigned value will return Color.Empty at this time.

Calling the ApplyPaletteColors method will cause the setting of the colors for the series and the data points, allowing for programmatic access.

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.