Bug 123664 - Ability to change the width or height of a report item via scripting
Summary: Ability to change the width or height of a report item via scripting
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.0.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: Future   Edit
Assignee: Wenbin He CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-12 16:05 EST by Sheldon Lee-Loy CLA
Modified: 2006-05-21 23:28 EDT (History)
0 users

See Also:


Attachments
Report design template file (3.68 KB, text/plain)
2006-02-09 19:46 EST, Sheldon Lee-Loy CLA
no flags Details
Resulting html file that contains the embeded script (48.76 KB, text/html)
2006-02-09 19:47 EST, Sheldon Lee-Loy CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sheldon Lee-Loy CLA 2006-01-12 16:05:50 EST
Currenlty changing the width and height of a report item is not supported through scripting.  

One of the useful applications of this ability is to simulate a gauge meter within a table.  

For example consider a table that shows a list of test suites. Each row has the total number of test cases failed and passed.   

I can create a third column that contains an image that is basically 1 pixel wide and 9 pixels high.  If I had the ability to change the width of the image within the "onCreate" method I could render a "gauge meter" that visualizes the number of tests failed.  The width of the image would be the (total test cases failed)/((total test cases failed) + total test cases passed) * 100.
Comment 1 Sheldon Lee-Loy CLA 2006-02-09 19:46:35 EST
Created attachment 34474 [details]
Report design template file
Comment 2 Sheldon Lee-Loy CLA 2006-02-09 19:47:27 EST
Created attachment 34475 [details]
Resulting html file that contains the embeded script