Difference: CDPieSetDataset (1 vs. 3)

Revision 32012-02-24 - JeanNeron

Line: 1 to 1
Changed:
<
<
META TOPICPARENT name="CDChartDirectorDesignerAPI"
>
>
META TOPICPARENT name="CDChartDirectorPieChartRoutines"
 

.PIE SET DATASET

This subroutine associates a dataset with the "current" pie chart.

Revision 22011-11-10 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="CDChartDirectorDesignerAPI"

.PIE SET DATASET

Line: 9 to 9
 
      PASS         <dataset_name>        FIELD            SHARE? N
      GOSUB    0CD .PIE SET DATASET
      *        Check for error

Changed:
<
<
IF 0CD .PIE SET DATASET NE
>
>
IF 0CD .PIE SET DATASET NE
 

Description:

This associates the named dataset with the "current" pie chart.

Revision 12011-09-29 - JeanNeron

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="CDChartDirectorDesignerAPI"

.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.


<--/commentPlugin-->

-- JeanNeron - 2011-09-29

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback