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


ev
ElementValue of elements in this series to base the SmartColor value ranges on.
colors
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 ParamArray colors() As Color _
) As SmartPalette
Visual Basic (Usage)Copy Code
Dim instance As Series
Dim ev As ElementValue
Dim colors() As Color
Dim value As SmartPalette
 
value = instance.GetSmartPalette(ev, colors)
C# 
public SmartPalette GetSmartPalette( 
   ElementValue ev,
   params Color[] colors
)

Parameters

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

See Also

© 2018 All Rights Reserved.