<ul><li>Hi, I want to fetch data set column values in OnRender Chart script is it needed to set global values if yes please let me know how to fetch ? also about data set column not declared in table/cross-tab 。</li>
</ul><p> </p>
<ul><li><span style="color:rgb(36,39,41);font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;font-size:15px;background-color:rgb(255,248,220);">I have Data-Set column JOB_TYPE column data type as String so I want to check condition about JOB_TYPE data either LOAD or DISC could you please let me know how to fetch column values and check condition?</span></li>
<li><strong><span style="color:rgb(36,39,41);font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;font-size:15px;">I wrote on fetch Data Set :</span></strong></li>
</ul><pre class="_prettyXprint">
reportContext.setPersistentGlobalVariable("mpos",row["JOB_TYPE"].toString());</pre>
<ul><li><strong><span style="color:rgb(36,39,41);font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;font-size:15px;">Script OnRender :</span></strong></li>
</ul><pre class="_prettyXprint">
function beforeDrawDataPointLabel( dph, label, icsc ){
var ci = icsc.getExternalContext().getScriptable().getPersistentGlobalVariable("mpos");
if(ci =="LOAD"){
label.getCaption().setValue("L:"+parseInt(dph.getOrthogonalValue()));
}</pre>
<ol><li>further reference please check below link .</li>
</ol><p><a data-ipb='nomediaparse' href='
http://stackoverflow.com/questions/40143975/how-to-fetch-data-set-column-values-in-birt-chart'>http://stackoverflow.com/questions/40143975/how-to-fetch-data-set-column-values-in-birt-chart</a></p>
<p> </p>
<p><a data-ipb='nomediaparse' href='
http://developer.actuate.com/community/forum/index.php?/topic/29809-use-dataset-on-a-chart-script/'>http://developer.actuate.com/community/forum/index.php?/topic/29809-use-dataset-on-a-chart-script/</a></p>