Tags:
view all tags
---+ Troubleshooting Tips _This page describes some troubleshooting tips._ ---++ Description: <div id="_mcePaste"> * When creating a new chart, find an example chart that is close to the layout you want and use that as a starting point. * If an API is not doing what you expect, check the return code. Checking the return codes is probably not necessary once your chart is working, but during development can help you track down a problem. For example, 0x00ff000 looks like a valid color code at first glance, but it's not and if you pass it to a color routine, the routine will return an error code. * You should always check the result code from .CHART RENDER. If an error occurs, your program may display a previously rendered chart instead of the one you expect. In particular the result code "Error Creating Image" means there was an error in the geneated PHP script. This could be a possible CDML formating error in your process or an API bug. The work field .CHART RENDER ERROR may contain additional information, so try displaying this as well. It might be in HTML format, so use an HTML VIEWER control to display the field. * If you cannot determine why your chart doesn't render, you can set the variable 0CD SESSION VIEW PHP to Y and try again. This will download and display the generated PHP code to your desktop. You can then review the code yourself, or paste it into a file & run it thru PHP directly. This will show you the exact line the error is occuring on. Note that 0CD SESSION VIEW PHP is a detached variable, so all charts will do this until you either turn it off or log off. </div> ---++ Comments _Read what other users have said about this page or add your own comments._ <br />%COMMENT% -- Main.JeanNeron - 2012-01-24
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r3 - 2012-11-05
-
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
Edit
Attach
Copyright © 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