Replies: 2 comments 11 replies
|
I'm not using BIRT charts, but I think they just use BIRT datasets. So why don't you create a separate scripted dataset that does what you want? |
|
You can either use the same technique to fill a different part of your JS object structure. |

I'm not using BIRT charts, but I think they just use BIRT datasets. So why don't you create a separate scripted dataset that does what you want?
In the layout, you'd use a hidden list before/above your chart, which is bound to your original JDBC dataset.
Then, either there or in the JDBC dataset you use JS events to fill a JS object structure that serves as the basis for the scripted dataset.
This hidden list item forces the JDBC dataset to execute and thus fills the data for your scripted dataset before the scripted dataset is used by the chart item.