dotnetCHARTING Send comments on this topic.
ZAxis Property
See Also  Example
dotnetCHARTING Namespace > Chart Class : ZAxis Property

Gets or Sets the main ZAxis which all series inherit by default. The ZAxis is used with surface charts.


Visual Basic (Declaration) 
Public Property ZAxis As Axis
Visual Basic (Usage)Copy Code
Dim instance As Chart
Dim value As Axis
instance.ZAxis = value
value = instance.ZAxis
public Axis ZAxis {get; set;}


C#Copy Code
//Import Drawing2D : <%@ Import Namespace="System.Drawing.Drawing2D" %>
Axis zAxisObj = new Axis();
zAxisObj.Line.StartCap = LineCap.RoundAnchor;    
zAxisObj.Line.EndCap = LineCap.ArrowAnchor;
zAxisObj.Line.Width =3;
"customized zAxis";
Chart.ZAxis = xAxisObj;
Visual BasicCopy Code
'Import Drawing2D : <%@ Import Namespace="System.Drawing.Drawing2D" %>
 Dim zAxisObj As Axis = new Axis()
zAxisObj.Line.StartCap = LineCap.RoundAnchor
zAxisObj.Line.EndCap = LineCap.ArrowAnchor
zAxisObj.Line.Width = 3
zAxisObj.Label.Text="customized zAxis"
Chart.ZAxis = xAxisObj

See Also

© 2019 All Rights Reserved.