.CHART INITIALIZE

This subroutine is called to initialize or reinitialize a chart spec. The newly initialized chart spec become the "current" chart.

<chart_type> must be a valid chart type. The valid values for <chart_type> are: PieChart. Passing this parameter is required.

<chart_spec_name> is the name which uniquely identifies the chart spec which is to be initialized. The name may be up to 30 characters in length. Passing this parameter is optional.

If the <chart_spec_name> parameter is not passed, then an "unnamed" chart is initialized. If an "unnamed" chart has been previously initialized, then the previously initialized "unnamed" chart is reinitialized clearing all previously set values.

If the <chart_spec_name> parameter is passed, then a chart with the specified name is initialized. If a chart with the specified name has been previously initialized, then the previously initialized chart is reinitialized clearing all previously set values.

This subroutine sets a result value in the corresponding results Token field.

      PASS         <chart_type>               FIELD            SHARE? N
      PASS         <chart_spec_name>          FIELD            SHARE? N
      GOSUB    CHT .CHART INITIALIZE
      *        Check for error
      IF       CHT .CHART INITIALIZE          NE

-- SteveFrizzell - 2010-02-15


This topic: Main > ChartDirectorDesignerAPI > CDChartInitialize
Topic revision: r4 - 2010-02-20 - SteveFrizzell
 
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