Pie chart draw issue using scripted datasource
<p style="color:rgb(40,40,40);font-family:'Source Sans Pro', sans-serif;">Hi I am new to Birt report using scripted data source . Could you suggest the way to supply values to pie chart using the scripted data source. I have a JSON Array of values from backend. My Birt version is 4.3.0</p>
<p style="color:rgb(40,40,40);font-family:'Source Sans Pro', sans-serif;"> </p>
<p style="color:rgb(40,40,40);font-family:'Source Sans Pro', sans-serif;">Could you please help me on this . Thanks in advance</p>
<p style="color:rgb(40,40,40);font-family:'Source Sans Pro', sans-serif;"> </p>
<p style="color:rgb(40,40,40);font-family:'Source Sans Pro', sans-serif;">Could you please help me on this . Thanks in advance</p>
0
Comments
-
<p>You will have to create a Scripted data source, and then a scripted data set which defines the data that acts as the source for the pie-chart.</p>
<p>Then the tasks are to supply code/script for the open, fetch and close methods of the created Scripted data set.</p>
<p>1. <span style="font-family:'courier new', courier, monospace;">open()</span> provides the object representing your source of data, say a backend service that returns a collection of interesting objects.</p>
<p>2. <span style="font-family:'courier new', courier, monospace;">fetch()</span> method then iterates over the retrieved objects/values one-by-one</p>
<p>3. <span style="font-family:'courier new', courier, monospace;">close()</span> then contains any clean up code</p>
<p> </p>
<p>This documentation lists the steps you need to do.</p>
<p><a data-ipb='nomediaparse' href='http://developer.actuate.com/be/documentation/ihub3/help/adg/adg65/index.html#page/ADG/ProgramDataAccess.1.1.html'>http://developer.actuate.com/be/documentation/ihub3/help/adg/adg65/index.html#page/ADG/ProgramDataAccess.1.1.html</a></p>
<p> </p>
<p>Though the steps are for the iHub product, they apply to open source BIRT as well. The documentation is much more clear than the eclipse help for BIRT.</p>
0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 144 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management