Community
Participate
Working Groups
Build Identifier: 2.6.2 I am using BIRT 2.6.2 to design a report with charts. When I add a chart, regardless of the size I set in the property editor in terms of inches, the <Bounds> element of the chart definition is set to: <Bounds> <Left>0.0</Left> <Top>0.0</Top> <Width>212.0</Width> <Height>130.0</Height> </Bounds> When you resize the chart in the designer it does not change, however when run in the BIRT 2.6.2 runtime it does size correctly. If I run it in a BIRT 2.6.1 runtime the chart is too small, it uses the <Bounds> sizing, not the width and height set in the property editor. If I use the 2.6.1 designer, the <Bounds> element changes when I resize the chart. While I appreciate that I should be using the same runtime to match the designer, something is inconsistent here, is <Bounds> deprecated between 2.6.1 and 2.6.2 or is it a bug that its not being updated. Reproducible: Always Steps to Reproduce: 1.Create report in BIRT 2.6.2 designer (eclipse or RCP) 2.Add a chart and resize it. The <Bounds> element of the chart definition will not change 3. Run it in BIRT 2.6.1
Created attachment 193826 [details] Designed in BIRT 2.6.2, note that the <Bounds> is still set to the initial value.
This is expected behavior. Now chart bounds will be updated only in runtime instead of design time, for the sake of model reference to report library.
To fix bug 321021, chart bounds will not be updated in design time. This change does not lead to any compatibility issues.