dotnetCHARTING Send comments on this topic.
GetSmartPalette(ElementValue,Palette) Method
See Also 
dotnetCHARTING Namespace > Series Class > GetSmartPalette Method : GetSmartPalette(ElementValue,Palette) Method


ev
ElementValue of elements in this series to base the SmartColor value ranges on.
palette
The colors on which the smart palette will be based.
Generates a SmartPalette object with range colors based on the series data and specified colors. The resulting smartPalette will work on series with the same name as this series.

Syntax

Visual Basic (Declaration) 
Public Overloads Function GetSmartPalette( _
   ByVal ev As ElementValue, _
   ByVal palette As Palette _
) As SmartPalette
Visual Basic (Usage)Copy Code
Dim instance As Series
Dim ev As ElementValue
Dim palette As Palette
Dim value As SmartPalette
 
value = instance.GetSmartPalette(ev, palette)
C# 
public SmartPalette GetSmartPalette( 
   ElementValue ev,
   Palette palette
)

Parameters

ev
ElementValue of elements in this series to base the SmartColor value ranges on.
palette
The colors on which the smart palette will be based.

See Also

© 2011 All Rights Reserved.