ChartMS Sub
Action
Draws multi-series bar, column, and line charts.
Syntax
ChartMS env, cat$(), value!(), n%, first%, last%, serieslabel$()
Remarks
The ChartMS procedure uses the following arguments.
env
---
A variable dimensioned as type ChartEnvironment.
cat$()
------
A one-dimensional string array of category labels.
value!()
--------
A two-dimensional single-precision array of values that contains multiple
series of data.
n%
--
An integer that contains the number of data items in each series to be
charted.
first%
------
An integer that indicates the first series in array value!() to be charted.
last%
-----
An integer that indicates the last series in array value!() to be charted.
serieslabel$()
--------------
A one-dimensional string array that contains labels for the different data
series.
Dimensions for the value!() and serieslabel$() arrays are declared as
follows.
DIM Val!( 1 to n%, first% to last%)
DIM serieslabel$( first% to last%)
To chart all series, set first% to 1 and last% to the last series number in
array value!(). To chart several contiguous series, set first% to the lowest
series number and last% to the highest series number desired.
An analysis routine called AnalyzeChartMS (included in the Presentation
Graphics toolbox) uses the same arguments as ChartMS. AnalyzeChartMS
analyzes and defines parameters in the chart environment based on the input
data, but it does not print a chart on the screen.