.PIE SET DATASET
This subroutine associates a dataset with the "current" pie chart.
Usage:
PASS <dataset_name> FIELD SHARE? N
GOSUB 0CD .PIE SET DATASET
* Check for error
IF 0CD .PIE SET DATASET NE
Description:
This associates the named dataset with the "current" pie chart.
When a Pie chart is initialized via
.CHART INITIALIZE, a default dataset is initialized for you (unless you have already initialized a dataset separately, see
Datasets Overview for more information).
If you are working with multiple datasets, this routine allows you to link a particular dataset to the chart. That is the dataset that will be used when the chart is rendered.
If
<dataset_name> is specified, it must refer to a previously initialized dataset or blank to refer to the default dataset for the chart. If you do not pass
<dataset_name>, then whatever is the "current" dataset will be associated with the "current" chart.
After associating the dataset with the "current" chart, that dataset becomes the "current" dataset.
Comments:
Read what other users have said about this page or add your own comments.
--
JeanNeron - 2011-09-29