Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Core.v4.4 Assembly / Xceed.Chart.Core Namespace / SurfaceSeriesBase Class / PositionValue Property
Example


In This Topic
    PositionValue Property
    In This Topic
    The PositionValue property specifies the value for the vertical position of the surface when the DrawFlat property is set to True and the PositionMode is SurfacePositionMode.CustomValue.
    Syntax
    'Declaration
     
    <CategoryAttribute("Contour Chart")>
    <DescriptionAttribute("Specifies the value for the vertical position of the surface. Used in flat mode only.")>
    <DefaultValueAttribute(0)>
    Public Property PositionValue As Double
    'Usage
     
    Dim instance As SurfaceSeriesBase
    Dim value As Double
     
    instance.PositionValue = value
     
    value = instance.PositionValue
    [Category("Contour Chart")]
    [Description("Specifies the value for the vertical position of the surface. Used in flat mode only.")]
    [DefaultValue(0)]
    public double PositionValue {get; set;}
    Example
    The code below enables the custom value positioning and specifies the value where the flat surface will be placed.
    surface.PositionMode = SurfacePositionMode.CustomValue
    surface.PositionValue = 1.2
    surface.PositionMode = SurfacePositionMode.CustomValue;
    surface.PositionValue = 1.2;
    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