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


In This Topic
    BeginEndAxis Property
    In This Topic
    Specifies the axis on which the Begin and End values are mapped.
    Syntax
    'Declaration
     
    <CategoryAttribute("General")>
    <DescriptionAttribute("Specifies the axis on which the Begin and End values are mapped")>
    Public Property BeginEndAxis As Integer
    'Usage
     
    Dim instance As AxisConstLine
    Dim value As Integer
     
    instance.BeginEndAxis = value
     
    value = instance.BeginEndAxis
    [Category("General")]
    [Description("Specifies the axis on which the Begin and End values are mapped")]
    public int BeginEndAxis {get; set;}
    Remarks
    For const lines of the vertical axes this can be only a horizontal axis.

    For const lines of the horizontal axes and the depth axis the BeginEndAxis can be any of the vertical axes.

    Example
    Display a horizontal const 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