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


In This Topic
    BeginValue Property
    In This Topic
    Begin value for the const line.
    Syntax
    'Declaration
     
    <CategoryAttribute("General")>
    <DescriptionAttribute("Begin value for the const line")>
    <DefaultValueAttribute(0)>
    Public Property BeginValue As Double
    'Usage
     
    Dim instance As AxisConstLine
    Dim value As Double
     
    instance.BeginValue = value
     
    value = instance.BeginValue
    [Category("General")]
    [Description("Begin value for the const line")]
    [DefaultValue(0)]
    public double BeginValue {get; set;}
    Remarks
    This value is mapped on the axis specified by the BeginEndAxis property and determines the starting point for the const line.
    Example
    Display a horizontal const line begining from value 5 and ending at value 15.
    Dim line As AxisConstLine =  Chart.Axis(StandardAxis.PrimaryY).ConstLines.Add() 
    line.Value = 12
    line.EnableBeginEnd = True
    line.BeginEndAxis = CType(StandardAxis.PrimaryX, Integer)
    line.BeginValue = 5
    line.EndValue = 15
    AxisConstLine line = Chart.Axis(StandardAxis.PrimaryY).ConstLines.Add();
    line.Value = 12;
    line.EnableBeginEnd = true;
    line.BeginEndAxis = (int)StandardAxis.PrimaryX;
    line.BeginValue = 5;
    line.EndValue = 15;
    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