Xceed Chart for WinForms v4.4 Documentation
Value Property (AxisConstLine)
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > AxisConstLine Class : Value Property
The value of the constant line.
Syntax
'Declaration
 
<DefaultValueAttribute()>
<CategoryAttribute("General")>
<DescriptionAttribute("The line is displayed at this value on the corresponding axis")>
Public Property Value As Double
'Usage
 
Dim instance As AxisConstLine
Dim value As Double
 
instance.Value = value
 
value = instance.Value
[DefaultValue()]
[Category("General")]
[Description("The line is displayed at this value on the corresponding axis")]
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

Reference

AxisConstLine Class
AxisConstLine Members