Nevron .NET Vision
Nevron.Chart Namespace / NAreaSeriesBase Class / OriginMode Property
Example


In This Topic
    OriginMode Property (NAreaSeriesBase)
    In This Topic
    Specifies which value should be used as an area origin.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Options")>
    <System.ComponentModel.DescriptionAttribute("Specifies which value should be used as an area origin.")>
    <System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    Public Property OriginMode As SeriesOriginMode
    'Usage
     
    
    Dim instance As NAreaSeriesBase
    Dim value As SeriesOriginMode
     
    instance.OriginMode = value
     
    value = instance.OriginMode
    [System.ComponentModel.Category("Options")]
    [System.ComponentModel.Description("Specifies which value should be used as an area origin.")]
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public SeriesOriginMode OriginMode {get; set;}
    Remarks
    If this property is set to SeriesOriginMode.CustomOrigin the area origin is specified by the Origin property. If this property is set to SeriesOriginMode.MaxValue the origin is the max value of the area. If this property is set to SeriesOriginMode.MinValue the origin is the min value of the area.

    By default this property is set to SeriesOriginMode.CustomOrigin.

    Example
    The following code displays an area with origin value 20.
    area.OriginMode = SeriesOriginMode.CustomOrigin
    area.Origin = 20
    area.OriginMode = SeriesOriginMode.CustomOrigin;
    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