Dundas Chart for ASP.NET
Legend Property
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > Series Class : Legend Property


Gets or sets the name of the series associated Legend object.


Chart legend name used by the series.

Syntax

Visual Basic (Declaration)  
Public Property Legend As String
Visual Basic (Usage) Copy Code
Dim instance As Series
Dim value As String
 
instance.Legend = value
 
value = instance.Legend
C#  
public string Legend {get; set;}

Return Value

A string value that represents the name of a Legend object.

Remarks

When a series is added at both design-time and run-time it is automatically assigned to the default Legend object.

Set this property to a zero-length string if you do not want the series shown in a Legend or set the ShowInLegend property to false.

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

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.