Dundas.SharePoint.Charting.WebParts Send comments on this topic.
Insert(Int32,Color,String) Method
See Also 
Dundas.Charting.WebControl Namespace > LegendItemsCollection Class > Insert Method : Insert(Int32,Color,String) Method


index
Legend item index to insert at.
color
Legend item color.
text
Legend item text.
Insert one legend item into the collection.

Syntax

Visual Basic (Declaration)  
Public Overloads Sub Insert( _
   ByVal index As Integer, _
   ByVal color As Color, _
   ByVal text As String _
) 
Visual Basic (Usage) Copy Code
Dim instance As LegendItemsCollection
Dim index As Integer
Dim color As Color
Dim text As String
 
instance.Insert(index, color, text)
C#  
public void Insert( 
   int index,
   Color color,
   string text
)

Parameters

index
Legend item index to insert at.
color
Legend item color.
text
Legend item text.

Return Value

Index of newly added item.

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