LegendItem Constructor ()

.NET Framework (current version)
 

Initializes a new instance of the LegendItem class.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public LegendItem()

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

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

.NET Framework
Available since 4.0
Return to top
Show: