Spread Windows Forms 8.0 Product Documentation
Size - Height, Width, and Depth

You can set the height, width, and depth for the plot area of the chart. The height of the chart is the distance from the top to the bottom of the plot area. The width of the chart is the distance from the right to the left of the plot area. The depth of the plot area is the distance from the back to the front of the chart.

In two dimensions, the height and width would be the rectangle that makes up the plot area. In three dimensions, the height, width, and depth would be the cube that makes up the plot area. The depth is the size of the cube along the z-axis. The following image shows a 3D chart.

Height, Width, and Depth

See the following for more information:

Using Code

Use properties to set the size and depth.

Example

The following example sets the size for a plot area.

C#
Copy Code
PiePlotArea plotArea = new PiePlotArea();
plotArea.Location = new PointF(0.2f, 0.2f);
plotArea.Size = new SizeF(0.6f, 0.6f);
plotArea.Series.Add(series);
VB
Copy Code
Dim plotArea As New FarPoint.Win.Chart.PiePlotArea()
plotArea.Location = New PointF(0.2F, 0.2F)
plotArea.Size = New SizeF(0.6F, 0.6F)
plotArea.Series.Add(series)

Using the Chart Designer

  1. Select the PlotArea Collection editor.
  2. Set properties as needed.

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options | Documentation Feedback