Home
DevShare Downloads
Setting the Min and Max value of the X-Axis with scripting
pricher
In the attached example, a line chart displays the number of items sold between two parameter-driven dates. Although the default dates for the parameters are 2003-01-15 to 2003-03-01, there is only data for dates starting 2003-01-29 and ending 2003-02-24.<br />
<br />
By default, BIRT will create an X-axis scale where the Min and Max values are derived from the data set. To programmatically extend the scale to emcompass the range provided by the parameters, you can override the beforeGemeration event of the Chart onRender method.<br />
<br />
The example uses Classic Models and has been created with BIRT 2.3.2.<br />
<br />
Enjoy!<br />
P.
Find more posts tagged with
Comments
There are no comments yet