![Shows a 2D Pyramid Chart based on the data listed in the table above.](images/Chart_About_Pyramid_Charts_01.png)
This topic discusses useful information that will help you to ensure that your data is rendered properly in the 2D pyramid chart.
While the Chart control allows you to easily point the chart to your own custom data, it is important that you are supplying the appropriate amount and type of data that the chart requires. If the data does not meet the minimum requirements based on the type of chart that you are using, an error will be generated.
The following is a list of data requirements for 2D pyramid charts:
The data set must contain at least one row and one numeric column. A numeric column is any DataColumn containing only values that can be interpreted as numbers. If an array or collection is used as the data source, the objects in that array or collection must have at least one public property which is of a numeric Type.
If you are binding the 2D pyramid chart to a series object, see Requirements for Series Binding for information on the series binding requirements.
The chart data is rendered using the following rules:
Only the first numeric column will be plotted on the chart.
Each row constitutes a single colored section of the pyramid.
See below for an example data set, along with the rendered pyramid chart.