Dashboard Charting Message: "This chart contains no data"
Options
Whats the recommended way to debug the error message, "This chart contains no data"?
In my local Designer, I can preview the dataset values, place them into a table and chart. However, when I try to use that dataset as the source for a chart gadget, I get the "This chart contains no data" error.
Some details about the dataset:
DataSource : Scripted DataSource
Implemented plugin to provide methods for the script to access the data.
Implemented open, and fetch methods of dataset to provide data.
Obviously, there are a few places the problem could live. However, with a message like "This chart contains no data", its tough to determine where the problem is at.
Thanks!
James
In my local Designer, I can preview the dataset values, place them into a table and chart. However, when I try to use that dataset as the source for a chart gadget, I get the "This chart contains no data" error.
Some details about the dataset:
DataSource : Scripted DataSource
Implemented plugin to provide methods for the script to access the data.
Implemented open, and fetch methods of dataset to provide data.
Obviously, there are a few places the problem could live. However, with a message like "This chart contains no data", its tough to determine where the problem is at.
Thanks!
James
0
Comments
-
The message you are seeing is intended to be a user facing message. The quickest approach in this situation is to implement logging in your plugin and/or your script. I usually just use standard Java IO to write to a file as I'm developing something.
Rob0 -
No, not really. Just make sure the iServer process owner has permission to write to the file location.
You can implement more robust logging similar to how iServer logs, but for a quick way to figure out what is going on, this is quick and easy.
I just added a logging framework to the DevShare that I use in these types of situations. You won't use it in the plugin, but it should work in the script.
http://www.birt-exchange.org/org/devshare/designing-birt-reports/1588-simple-logging-framework/0 -
Ok. Thank you very much. This has been very helpful. I've been able to get logging and I learned that the iServer is not loading the plugin that provides the methods that the scripted data source calls. Since the scripted data source can't execute the method to get its data, the fetch method is returning null and the gadget are not getting any data.
now the question becomes....where do I need to place my plugin?
I've place the plugin jar into these directories on the iServer:
/opt/app/actuate/AcServer/MyClasses/
/opt/app/actuate/AcServer/MyClasses/eclipse/plugins/
/opt/app/actuate/AcServer/acshare/MyClasses/
/opt/app/actuate/AcServer/jar/BIRT/platform/plugins/
/opt/app/actuate/AcServer/oda/eclipse/plugins/
Is this correct?0
Categories
- All Categories
- 109 Developer Announcements
- 49 Articles
- 100 General Questions
- 122 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 123 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management