Spread Windows Forms 7.0 Product Documentation
SideWall Property
See Also  Example Support Options
FarPoint.Win.Chart Assembly > FarPoint.Win.Chart Namespace > YPlotArea Class : SideWall Property


Glossary Item Box

Gets or sets the left wall.

Syntax

Visual Basic (Declaration) 
Public Property SideWall As Wall
Visual Basic (Usage)Copy Code
Dim instance As YPlotArea
Dim value As Wall
 
instance.SideWall = value
 
value = instance.SideWall
C# 
public Wall SideWall {get; set;}

Exceptions

ExceptionDescription
System.ArgumentNullException value is a null reference (Nothing in VB).

Example

This example sets properties for the YPlotArea Class.
C#Copy Code
FarPoint.Win.Chart.BarSeries series = new FarPoint.Win.Chart.BarSeries();
series.SeriesName = "Series 0";
series.Values.Add(2.0);
series.Values.Add(4.0);
series.Values.Add(3.0);
series.Values.Add(5.0);

FarPoint.Win.Chart.YPlotArea plotArea = new FarPoint.Win.Chart.YPlotArea();
plotArea.Location = new PointF(0.2f, 0.2f);
plotArea.Size = new SizeF(0.6f, 0.6f);
plotArea.series.Add(series);
plotArea.BackWall = new FarPoint.Win.Chart.Wall(true);
plotArea.BottomWall = new FarPoint.Win.Chart.Wall(true);
plotArea.SideWall = new FarPoint.Win.Chart.Wall(true);
plotArea.Vertical = false;

FarPoint.Win.Chart.ChartModel model = new FarPoint.Win.Chart.ChartModel();
model.PlotAreas.Add(plotArea);
chart2DControl1.Model = model;

Visual BasicCopy Code
Dim series As New FarPoint.Win.Chart.BarSeries()
series.SeriesName = "Series 0"
series.Values.Add(2.0)
series.Values.Add(4.0)
series.Values.Add(3.0)
series.Values.Add(5.0)

Dim plotArea As New FarPoint.Win.Chart.YPlotArea()
plotArea.Location = New PointF(0.2F, 0.2F)
plotArea.Size = New SizeF(0.6F, 0.6F)
plotArea.series.Add(series)
plotArea.BackWall = New FarPoint.Win.Chart.Wall(True)
plotArea.BottomWall = New FarPoint.Win.Chart.Wall(True)
plotArea.SideWall = New FarPoint.Win.Chart.Wall(True)
plotArea.Vertical = False
        
Dim model As New FarPoint.Win.Chart.ChartModel()
model.PlotAreas.Add(plotArea)

Chart2DControl1.Model = model

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.