The information in this article applies to:
SUMMARYThe MS Chart control can create an XY Scatter chart that you can use to plot X/Y coordinate data. This article shows you how to create a sample program that displays X/Y coordinate data on a Scatter chart using the MS Chart control. MORE INFORMATIONYou can create an XY Scatter chart by treating your data points as a two- dimensional grid. This grid comprised one or more data series. Each data series in the grid takes two columns and as many rows as you have data points. For example, the first and second columns make up the X and Y coordinates of the first data series. The third and fourth columns make up the X and Y coordinates of the second data series, and so on. The following shows a sample grid. In this grid, the first data series is made up of the following 10 data points:
The second data series is made up of the following 10 data points:
To fill the chart's data grid, you can use the Row and Column properties to
specify a cell in the grid and then use the Data property to plot that
coordinate:
The next section shows how to create a sample project that demonstrates
plotting X/Y coordinate data on a scatter chart.
Step-by-Step ExampleThis project assumes you added the MS Chart Component to the project. The project will plot the previously described data.
Additional query words: XY-Scatter x y kbVBp500 kbVBp600 kbVBp kbdsd kbDSupport kbControl
Keywords : kbGrpVB |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |