Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Standard.v4.4 Assembly / Xceed.Chart.Standard Namespace / ChartLabel Class / Text Property
Example


In This Topic
    Text Property (ChartLabel)
    In This Topic
    The text displayed by the label.
    Syntax
    'Declaration
     
    <CategoryAttribute("Text")>
    <DescriptionAttribute("The text displayed by the label")>
    Public Property Text As String
    'Usage
     
    Dim instance As ChartLabel
    Dim value As String
     
    instance.Text = value
     
    value = instance.Text
    [Category("Text")]
    [Description("The text displayed by the label")]
    public string Text {get; set;}
    Example
    Dim label As ChartLabel =  New ChartLabel() 
    label.Text = "Hello world"
    ChartControl.Labels.Add(label)
    ChartLabel label = new ChartLabel();
    label.Text = "Hello world";
    ChartControl.Labels.Add(label);
    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