Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Core.v4.4 Assembly / Xceed.Chart.Core Namespace / AreaSeries Class / UseOrigin Property
Example


In This Topic
    UseOrigin Property (AreaSeries)
    In This Topic
    Specifies whether a custom area origin must be used.
    Syntax
    'Declaration
     
    <CategoryAttribute("Options")>
    <DescriptionAttribute("Specifies whether a custom area origin must be used.")>
    <DefaultValueAttribute(True)>
    Public Property UseOrigin As Boolean
    'Usage
     
    Dim instance As AreaSeries
    Dim value As Boolean
     
    instance.UseOrigin = value
     
    value = instance.UseOrigin
    [Category("Options")]
    [Description("Specifies whether a custom area origin must be used.")]
    [DefaultValue(true)]
    public bool UseOrigin {get; set;}
    Remarks
    When set to true the area is displayed with the origin specified by the Origin property.

    When set to false the area is displayed with the maximal possible origin value.

    By default this property is set to true.

    Example
    The following code displays an area with origin value 20.
    area.UseOrigin = True
    area.Origin = 20
    area.UseOrigin = true;
    area.Origin = 20;
    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