Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Core.v4.4 Assembly / Xceed.Chart.Core Namespace / AxisConstLine Class / Value Property
Example


In This Topic
    Value Property (AxisConstLine)
    In This Topic
    The value of the constant line.
    Syntax
    'Declaration
     
    <CategoryAttribute("General")>
    <DescriptionAttribute("The line is displayed at this value on the corresponding axis")>
    <DefaultValueAttribute(0)>
    Public Property Value As Double
    'Usage
     
    Dim instance As AxisConstLine
    Dim value As Double
     
    instance.Value = value
     
    value = instance.Value
    [Category("General")]
    [Description("The line is displayed at this value on the corresponding axis")]
    [DefaultValue(0)]
    public double Value {get; set;}
    Remarks
    The line is displayed at this value on the corresponding axis.
    Example
    The following example displays a const line at value 5 of the PrimaryY axis.
    Dim line As AxisConstLine =  Chart.Axes(StandardAxis.PrimaryY).ConstLines.Add() 
    line.Value = 5
    AxisConstLine line = Chart.Axes(StandardAxis.PrimaryY).ConstLines.Add();
    line.Value = 5;
    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