Overview
All data is plotted as series, and each series consists of a related group of data points. This topic discusses some data requirements, and how those requirements relate to various chart types.
Data Points
Each data point consists of:
- A Y value that determines where a data point is plotted (correlates to the DataPoint.XValue property).
- One or more Y values, which are the value(s) of the data points (correlates to the DataPoint.YValues array property). Some chart types require more than one Y value. For example, to plot one stock chart column four Y values are required: high, low, open, and close values denoted as Y, Y2, Y3, and Y4 values.
Note |
---|
When adding data points to a data series, you do not have to specify the X value since data is automatically plotted along the x-axis for you. (e.g. the X value for all data points in a series can be zero). When all X values are zero, data is plotted sequentially starting from zero. |
Data Series
The Series object's ChartType property determines how a series is drawn.
Note |
---|
For more information on chart types, refer to the topics in the "Chart Types" folder for a complete description of each chart type. |
The following table summarizes the number of data series, and Y values required for each chart type:
Chart Type |
Minimum Number of Series |
Maximum Number of Series |
Number of Y-Values |
1 |
unlimited |
1 | |
1 |
unlimited |
1 | |
1 |
unlimited |
1 | |
1 |
unlimited |
1 | |
1 |
unlimited |
1 | |
1 |
unlimited |
>= 6 | |
1 |
unlimited |
2 | |
1 |
unlimited |
4 | |
1 |
unlimited |
1 | |
1 |
1 |
1 | |
1 |
unlimited |
3 | |
1 |
unlimited |
1 | |
1 |
unlimited |
1 | |
1 |
1 |
1 | |
1 |
unlimited |
2 | |
1 |
unlimited |
1 | |
1 |
1 |
1 | |
1 |
unlimited |
1 | |
1 |
unlimited |
1 | |
1 |
1 |
1 | |
1 |
unlimited |
2 | |
1 |
unlimited |
1 | |
1 |
unlimited |
1 | |
1 |
unlimited |
1 | |
1 |
unlimited |
1 | |
1 |
unlimited |
2 | |
2 |
unlimited |
1 | |
2 |
unlimited |
1 | |
2 |
unlimited |
1 | |
1 |
unlimited |
1 | |
1 |
unlimited |
4 |