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


Creates a new instance of the LegendItem class.


Default constructor.

Overload List

Overload Description
LegendItem Constructor() Default legend item constructor  
LegendItem Constructor(String,Color,String) Constructor that takes a name, color and image path.
Legend item constructor  

Remarks

Use this constructor to create and initialize a new instance of the LegendItem class.

Only one of the image or color parameters needs to be specified. If both are specified than the image parameter has precedence.

Note that you can also add custom legend items using the Add and Insert methods of the CustomItems collection property of the Legend object.

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.