Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] Checkin: Bugzilla#159970 - Not able to change the chart size using event handlers

- Summary:
Not able to change the chart size using event handlers

- Bugzilla Bug (s) Resolved:
159970

- Description:
User could write simple API code to resize charts.
This is how:
1. open "script" tab and click the root node (report name) in outline view
2. select "beforeFactory" method in editor's combo
3. write code like this: this.getReportElement(CHART_NAME).setHeight("400pt")
Note that some relative dimension units like "px" or "%" are not supported here.

Fixed by overriding IReportItem methods to update internal chart size when resizing extended item.

- Tests Description: Manual Test

- Notes to Build Team: N/A

- Notes to Developers: N/A

- Notes to QA: N/A

- Notes to Documentation: N/A

- Files Edited:

/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/reportitem/i18n/nls.properties
/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/script/internal/ChartImpl.java


- Files Added:


- Files Deleted

 


Back to the top