Dundas Chart for Windows Forms
LegendItem Constructor(String,Color,String)
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > LegendItem Class > LegendItem Constructor : LegendItem Constructor(String,Color,String)


name
Name of legend item.

The legend item text.


Item name.
color
Color of legend item.

The color of the legend item's symbol.


Item color.
image
Pathname of image to be displayed for the legend item.

The image to be used as the legend item's symbol.


Item image.
Constructor that takes a name, color and image path.
Legend item constructor

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal name As String, _
   ByVal color As Color, _
   ByVal image As String _
)
Visual Basic (Usage) Copy Code
Dim name As String
Dim color As Color
Dim image As String
 
Dim instance As LegendItem(name, color, image)
C#  
public LegendItem( 
   string name,
   Color color,
   string image
)

Parameters

name
Name of legend item.

The legend item text.


Item name.
color
Color of legend item.

The color of the legend item's symbol.


Item color.
image
Pathname of image to be displayed for the legend item.

The image to be used as the legend item's symbol.


Item image.

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

© 2009 All Rights Reserved.