Difference: CDChartRender (1 vs. 9)

Revision 92013-05-28 - JeanNeron

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

.CHART RENDER

Line: 7 to 7
 

Usage:

      PASS         <chart_pathname>           FIELD            SHARE? Y
Changed:
<
<
GOSUB 0CD .CHART RENDER
>
>
SUBR 0CD .CHART RENDER SUBPROCESS END? N FAIL 0
 
    • Check for error IF 0CD .CHART RENDER NE

Description:

Line: 21 to 21
 If the <chart_pathname> value that is passed is not blank, then the value passed must either be the desired file name or the desired full pathname (directory and file name) for the chart file that is to be created. If a file name is passed, then the system will create the chart file using the specified name in the default chart directory specified in the system parameter file. If a full pathname is passed, then the system will create the chart file using the specified full pathname.

If .CHART RENDER is not blank, .CHART RENDER ERROR may contain more details. Since this might contain HTML code (if it's a PHP error), you should display this in an HTML Viewer control.

Added:
>
>
Also notice the use of SUBR to invoke this routine. This is a large process, and by invoking it as a separate process it will reduce the compile time and Em size of your process.
 

Comments:

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

Revision 82012-03-23 - JeanNeron

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

.CHART RENDER

Line: 20 to 20
  If the <chart_pathname> value that is passed is not blank, then the value passed must either be the desired file name or the desired full pathname (directory and file name) for the chart file that is to be created. If a file name is passed, then the system will create the chart file using the specified name in the default chart directory specified in the system parameter file. If a full pathname is passed, then the system will create the chart file using the specified full pathname.
Changed:
<
<
If .CHART RENDER contains 'Error creating image', you can examine .CHART RENDER ERROR for more details. Since this might contain HTML code (if it's a PHP error), you should display this in an HTML Viewer control.
>
>
If .CHART RENDER is not blank, .CHART RENDER ERROR may contain more details. Since this might contain HTML code (if it's a PHP error), you should display this in an HTML Viewer control.
 

Comments:

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

Revision 72012-03-23 - JeanNeron

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

.CHART RENDER

Line: 16 to 16
  The <chart_pathname> is a required parameter. The value passed may be blank or it may optionally specify the file name or the full pathname of the chart that is to be rendered.
Changed:
<
<
If the <chart_pathname> value that is passed is blank, then the system will assign a sequentially numbered file name with the prefix specified in the system parameter file and will create the file in the default chart directory specified in the system parameter file.
>
>
If the <chart_pathname> value that is passed is blank, then the system will assign a sequentially numbered file name with the prefix specified in the system parameter file and will create the file in the default chart directory specified in the system parameter file. This parameter must be PASSed with Share "Y" to return the value.
  If the <chart_pathname> value that is passed is not blank, then the value passed must either be the desired file name or the desired full pathname (directory and file name) for the chart file that is to be created. If a file name is passed, then the system will create the chart file using the specified name in the default chart directory specified in the system parameter file. If a full pathname is passed, then the system will create the chart file using the specified full pathname.
Changed:
<
<
This subroutine returns the full pathname of the file containing the rendered chart in the <chart_pathname> field so this parameter must be passed with SHARE=Y.
>
>
If .CHART RENDER contains 'Error creating image', you can examine .CHART RENDER ERROR for more details. Since this might contain HTML code (if it's a PHP error), you should display this in an HTML Viewer control.
 

Comments:

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

Revision 62012-02-19 - JeanNeron

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

.CHART RENDER

This subroutine is called to render a chart for the "current" chart spec.

Revision 52011-09-14 - JeanNeron

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

.CHART RENDER

Line: 7 to 7
 

Usage:

      PASS         <chart_pathname>           FIELD            SHARE? Y
Changed:
<
<
GOSUB CHT .CHART RENDER
>
>
GOSUB 0CD .CHART RENDER
 
    • Check for error
Changed:
<
<
IF CHT .CHART RENDER NE
>
>
IF 0CD .CHART RENDER NE
 

Description:

This subroutine renders a chart for the "current" chart spec using the associated dataset(s) and returns the full pathname of a (png) file containing the rendered chart.

Revision 42010-04-08 - SteveFrizzell

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

.CHART RENDER

Line: 12 to 12
  IF CHT .CHART RENDER NE

Description:

Changed:
<
<
This subroutine renders a chart for the "current" chart spec using the associated dataset specs and returns the full pathname of a (png) file containing the rendered chart.
>
>
This subroutine renders a chart for the "current" chart spec using the associated dataset(s) and returns the full pathname of a (png) file containing the rendered chart.
  The <chart_pathname> is a required parameter. The value passed may be blank or it may optionally specify the file name or the full pathname of the chart that is to be rendered.

Revision 32010-04-07 - SteveFrizzell

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

.CHART RENDER

Line: 12 to 12
  IF CHT .CHART RENDER NE

Description:

Changed:
<
<
This subroutine renders a chart for the "current" chart spec using the "current" dataset spec and returns the full pathname of a (png) file containing the rendered chart.
>
>
This subroutine renders a chart for the "current" chart spec using the associated dataset specs and returns the full pathname of a (png) file containing the rendered chart.
  The <chart_pathname> is a required parameter. The value passed may be blank or it may optionally specify the file name or the full pathname of the chart that is to be rendered.

Revision 22010-03-20 - SteveFrizzell

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

.CHART RENDER

This subroutine is called to render a chart for the "current" chart spec.

Line: 28 to 28
 
<--/commentPlugin-->

-- SteveFrizzell - 2010-03-17

Added:
>
>
META TOPICMOVED by="SteveFrizzell" date="1269082331" from="Main.ChartRender" to="Main.CDChartRender"

Revision 12010-03-17 - SteveFrizzell

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

.CHART RENDER

This subroutine is called to render a chart for the "current" chart spec.

Usage:

      PASS         <chart_pathname>           FIELD            SHARE? Y
      GOSUB    CHT .CHART RENDER
      *        Check for error
      IF       CHT .CHART RENDER              NE

Description:

This subroutine renders a chart for the "current" chart spec using the "current" dataset spec and returns the full pathname of a (png) file containing the rendered chart.

The <chart_pathname> is a required parameter. The value passed may be blank or it may optionally specify the file name or the full pathname of the chart that is to be rendered.

If the <chart_pathname> value that is passed is blank, then the system will assign a sequentially numbered file name with the prefix specified in the system parameter file and will create the file in the default chart directory specified in the system parameter file.

If the <chart_pathname> value that is passed is not blank, then the value passed must either be the desired file name or the desired full pathname (directory and file name) for the chart file that is to be created. If a file name is passed, then the system will create the chart file using the specified name in the default chart directory specified in the system parameter file. If a full pathname is passed, then the system will create the chart file using the specified full pathname.

This subroutine returns the full pathname of the file containing the rendered chart in the <chart_pathname> field so this parameter must be passed with SHARE=Y.

Comments:

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

<--/commentPlugin-->

-- SteveFrizzell - 2010-03-17

 
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