It's all about the answers!

Ask a question

Have Created some BIRT reports in RTC 4.0. Is there any solution where I can display only chart but not the table content in the dashboard...


Trilok Chand (3133) | asked Apr 19 '13, 3:16 a.m.
Hi,

I integrated BIRT in RTC4.0 and I am able to successfully generate reports and charts. By default, my final report shows chart as well as the table below it. Now, I am trying to remove table and display only chart. So, I removed the table part from the layout view and tested the report. The report is working fine in a standalone view. But when I deploy the report on the dashboard (by adding the widgets), the results are not shown properly. Can anyone guide me how to make the same report work even in dashboard. Is there any solution for this where I can display only charts but not the table in the dashboard.

Thanks in advance,
Trilok

Comments
Alanna Zito commented Apr 19 '13, 9:20 a.m.
JAZZ DEVELOPER

Hi Trilok,

Can you be more specific about what is not shown properly when you display your report on the dashboard?  What are the steps you took to add your report to the dashboard widget?


Trilok Chand commented Apr 24 '13, 3:50 a.m.

1) I created a report which will display a chart and table. Layout looks something like this...

Chart
Table
About this report

2) Now I double click on the table part on the layout and deleted the table part. Now my layout looks like this...

Chart
About this report

I saved my report1.rptdesign

3) I Opened RTC and I selected in Report Resouces from Reports tab
I clicked on "Create Resource" and selected my report i.e.. report1.rptdesign from browse...
I also checked the Shared option to display the report on the dashboard and saved the changes.

4) To check it locally, I clicked on "Create Report from Resource" from Reports tab and from resource tab i selected my report and saved the changes. Report display will only chart information.

Info Contd....


Trilok Chand commented Apr 24 '13, 3:51 a.m.

5) Now I deployed my report on dashboard... i.e.

I right clicked on my project area and clicked on open...
From the project area, i selected Process Configuration tab
Project Configuration -> Configuration Data -> Dashboards -> Widget Catalog Entries

click on Add Category...
Click on Add Viewlet entry

Under General Tab:
Identifier ID-> com.ibm.team.reports.viewlet
Name-> Name of the report

Under Preferences tab: select report ID

Then save the changes...

6) Open the RTC web client... create a new tab and click on Add Widget
From the widgets available, select the report report1.rptdeisgn
and click on Add widget

Once the report is added to the dashboard, I am giving the required params and click on the preview...

Preview display chart alone properly.

once i click on 'Ok' and run the report again, report displays a message... No results were found...

Please let me in case i am missing any configuration...


Trilok Chand commented Apr 26 '13, 2:21 a.m.

Thanks alot for your reply. It worked. My output format is JPG and I changed it to PNG and it worked...

Accepted answer


permanent link
Indradri Basu (1.8k1514) | answered Apr 24 '13, 5:18 a.m.
Hi Trilok, it sounds like the size and the zoom param of your report template may not be right to fit in the dashboard. You may want to take a look at the link below:
https://jazz.net/wiki/bin/view/Main/HowToCreateMicroBIRTReportTemplates
Trilok Chand selected this answer as the correct answer

One other answer



permanent link
Alanna Zito (1.3k3) | answered Apr 24 '13, 11:20 a.m.
JAZZ DEVELOPER
Those steps sound OK. 

In your report design file, did you change the output format of the chart? (default is PNG).  That is one thing I can think of that might cause the behaviour you're seeing.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.