Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Developing Analytics Applications
How do you access a dataset from chart
Migrateduser
<p style="font-size:15px;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;">Hello, </p>
<p style="font-size:15px;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;">I have a chart element in .rptdesign file. it uses the dataset that has two columns (<strong>x</strong>,<strong>y</strong>) and are used to make the plot. </p>
<p style="font-size:15px;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;">Now depending on how many points are the dataset, I would need to <strong>dynamically</strong> adjust the properties of the chart, through the beforeGeneration() event handler or any other applicable event handler.</p>
<p style="font-size:15px;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;">Question: how do I access dataset list values from within the beforeGeneration() event handler as shown below:</p>
<p>function beforeGeneration( chart, icsc )<br>
{<br>
importPackage( Packages.org.eclipse.birt.chart.model.data.impl );<br>
totalPoints = ????? <br>
}</p>
<p> </p>
<p style="font-size:15px;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;">Thanks!!</p>
Find more posts tagged with
Comments
There are no comments yet