[]
        
(Showing Draft Content)

Data Layout in GridDataSeries

Data in Chart3D for WPF is defined in the GridDataSeries class. It provides the following properties related to data:

Property

Description

ZData

Gets or sets two-dimensional array of values on the grid.

Start

Gets or sets the start point of data.

Step

Gets or sets the step of grid data.

ContourData

Gets or sets two-dimensional array of contour data (4-dimensional chart).

The first index of the 2D array in the ZData/ ContourData properties corresponds to the X and the second index corresponds to the Y. The layout for ZData is shown in the following table.


Start.X

Start.X + Step.X

Start.X + 2*Step.X

Start.Y

ZData[0,0]

ZData[1,0]

ZData[2,0]

Start.Y + Step.Y

ZData[0,1]

ZData[1,1]

ZData[2,1]

Start.Y + 2*Step.Y

ZData[0,2]

ZData[1,2]

ZData[2,2]

The element of the array ZData[0,0] corresponds to the point (Start.X, Start.Y), ZData[1,0] is the z-value at (Start.X+Step.X, Start.Y), and so on.

See Also

Chart Types