Creating 4D Charts

To create a 4D chart, complete the following steps:

1.   Add the grid dataset (regular or irregular) data to the chart. See 3D Data for information on adding data to a chart.

2.   Add the contour data to the chart. This data will be used to derive the zoning and contouring colors for the fourth dimension of chart information. The contour data is defines by ContourData property of Chart3DData object.

3.   Set the IsShaded and/or IsZoned Contour object properties of Chart3DGroup.

      Visual Basic

      C#

In Bar charts, each bar is displayed as a single solid color according to the zoned height of the bar:

In Surface charts, the fourth dimension is displayed as zoning and contouring colors.

Note: The grid dataset and contour data array must have the same dimensions. If these conditions are not met, a 4D chart is not displayed.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.