Difference: CDDatasetInitialize (1 vs. 4)

Revision 42013-02-19 - RayPelegrino

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

.DATASET INITIALIZE

Revision 32012-02-19 - JeanNeron

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

.DATASET INITIALIZE

This subroutine is called to initialize a dataset.

Revision 22011-11-11 - JeanNeron

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

.DATASET INITIALIZE

Line: 16 to 16
  This subroutine is called to initialize a dataset. You must call this subroutine before you can add data using .POINT ADD NEW.
Changed:
<
<
<number of dimensions> must be an unsigned integer between 1-3. If <number_of_dimensions> is not received, then a default value of 1 dimension is assumed.
>
>
<number of dimensions> must be an unsigned integer between 1-3. If <number_of_dimensions> is not received, then a default value of 1 dimension is assumed. For example, pie and bar charts only require one dimension (data is just plotted on the Y axis), while line charts require 2 dimensions (data is plotted on both the X and Y axis).
  If a <dataset_name> is received, the dataset with the specified name is removed (if it exists) and a new dataset is created and initialized with the specified name.

Revision 12011-11-11 - JeanNeron

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

.DATASET INITIALIZE

This subroutine is called to initialize a dataset.


Usage:

      PASS         <number_of_dimensions>     FIELD            SHARE? N
      PASS         <dataset_name>             FIELD            SHARE? N
      GOSUB    0CD .DATASET INITIALIZE
      IF       0CD .DATASET INITIALIZE        NE

Description:

This subroutine is called to initialize a dataset. You must call this subroutine before you can add data using .POINT ADD NEW.

<number of dimensions> must be an unsigned integer between 1-3. If <number_of_dimensions> is not received, then a default value of 1 dimension is assumed.

If a <dataset_name> is received, the dataset with the specified name is removed (if it exists) and a new dataset is created and initialized with the specified name.

If no <dataset_name> is received, the "unnamed" dataset is removed (if it exists) and a new "unnamed" dataset is created and initialized.

The newly initialized dataset become the "current" dataset.

See Datasets Overview for more information on working with data.

Comments:

Read what other users have said about this page or add your own comments.


<--/commentPlugin-->

-- JeanNeron - 2011-11-11

 
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