Tags:
tag this topic
create new tag
view all tags
---+ .CHART RENDER _This subroutine is called to render a chart for the "current" chart spec._ %TOC% ---++ Usage: <verbatim> PASS <chart_pathname> FIELD SHARE? Y SUBR 0CD .CHART RENDER SUBPROCESS END? N FAIL 0 * Check for error IF 0CD .CHART RENDER NE</verbatim> ---++ 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. 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. 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. 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. 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._ %COMMENT% -- Main.SteveFrizzell - 2010-03-17
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r9
<
r8
<
r7
<
r6
<
r5
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r9 - 2013-05-28
-
JeanNeron
Home
Site map
Main web
MedicaidBilling web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
E
dit
A
ttach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback