Xceed Chart for WinForms v4.4 Documentation
SetMajorShowAtWall Method
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > Axis Class : SetMajorShowAtWall Method
specifies the chart wall
whether to show the major line or not
Shows the major lines at the specified wall.
Syntax
'Declaration
 
Public Sub SetMajorShowAtWall( _
   ByVal wall As ChartWallType, _
   ByVal show As Boolean _
) 
'Usage
 
Dim instance As Axis
Dim wall As ChartWallType
Dim show As Boolean
 
instance.SetMajorShowAtWall(wall, show)
public void SetMajorShowAtWall( 
   ChartWallType wall,
   bool show
)

Parameters

wall
specifies the chart wall
show
whether to show the major line or not
Exceptions
ExceptionDescription
Raised if a chart wall, which is invalid for this axis was specified.
Remarks
The component will raise an exception if you try to display the major gridlines on an invalid wall.

For the vertical axes allowed chart walls are the vertical walls.

For the horizontal axes allowed chart walls are the back, front and floor walls.

For the depth axes allowed chart walls are the left, rigth and floor walls.

Example
The following code displays the PrimaryY axis major gridlines on the rigth chart wall.
Chart.Axis(StandardAxis.PrimaryY).SetMajorShowAtWall(ChartWallType.Right, True)
Chart.Axis(StandardAxis.PrimaryY).SetMajorShowAtWall(ChartWallType.Right, true);
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

Axis Class
Axis Members