Xceed Chart for WinForms v4.4 Documentation
Text Property (LegendText)
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > LegendText Class : Text Property
The texts displayed as legend header or footer.
Syntax
'Declaration
 
<DescriptionAttribute("The texts displayed as legend header or footer.")>

<CategoryAttribute("General")>

Public Property Text As String
'Usage
 
Dim instance As LegendText

Dim value As String

 

instance.Text = value

 

value = instance.Text
[Description("The texts displayed as legend header or footer.")]

[Category("General")]

public string Text {get; set;}
Example
The following code modifies the legend header and footer texts.
legend.Footer.Text = "Legend Footer"

legend.Header.Text = "Legend Header"
legend.Footer.Text = "Legend Footer";

legend.Header.Text = "Legend Header";
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

LegendText Class
LegendText Members