Xceed Chart for WinForms v4.4 Documentation
PositionValue Property
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > SurfaceSeriesBase Class : PositionValue Property
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
 
<DescriptionAttribute("Specifies the value for the vertical position of the surface. Used in flat mode only.")>

<CategoryAttribute("Contour Chart")>

<DefaultValueAttribute()>

Public Property PositionValue As Double
'Usage
 
Dim instance As SurfaceSeriesBase

Dim value As Double

 

instance.PositionValue = value

 

value = instance.PositionValue
[Description("Specifies the value for the vertical position of the surface. Used in flat mode only.")]

[Category("Contour Chart")]

[DefaultValue()]

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

Reference

SurfaceSeriesBase Class
SurfaceSeriesBase Members