api - Birt Chart: How do I access an aggregation values from a bound dataSet via script -


could me following:

i have chart element in .rptdesign file. uses dataset has 3 column bindings. 2 columns (x,y) came dataset , used make plot. have column binding aggregation (count) on x. trying count how many points in dataset. far good....

now depending on how many points dataset, need dynamically adjust properties of chart, through beforegeneration() event handler.

question: how access aggregation values within beforegeneration() event handler shown below:

function beforegeneration( chart, icsc ) { importpackage( packages.org.eclipse.birt.chart.model.data.impl ); count = ?????  //get_value_from_aggregatoin } 

thanks!!


Comments

Popular posts from this blog

android - questions about switching from C2DM to GCM -

c++ - Qt setGeometry: Unable to set geometry -

batch file - How to extract all multi-volume RAR archives from subfolders of a folder? -