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


image
Legend item image.
text
Legend item text.
Adds one legend item into the collection.

Syntax

Visual Basic (Declaration)  
Public Overloads Function Add( _
   ByVal image As String, _
   ByVal text As String _
) As Integer
Visual Basic (Usage) Copy Code
Dim instance As LegendItemsCollection
Dim image As String
Dim text As String
Dim value As Integer
 
value = instance.Add(image, text)
C#  
public int Add( 
   string image,
   string text
)

Parameters

image
Legend item image.
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