If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Bubble Chart

Started by Prakash Bhai, 22 Sep 2010 05:27:29 AM

Previous topic - Next topic

Prakash Bhai

Hi All

I am working on, Customizing a mouse over tool tip in cognos bubble chart. where I need the values to be get displayed on the chart through script. I have written a piece of code, where the else part is getting executed fine. But the main If part is not working. Is there any way to pull the data from the Query.


The java script code is like this,

"<script>

areas = document.getElementsByTagName('area');

for(i in areas)
{
if(areas.className='chart_area')
{
if(areas.alt != undefined && areas.alt.match(new RegExp('^Sales Stage = " +[Main Query].[xx] +" ')))
areas.alt = '" + [Main Query].[xx] + " - Customer- " + [Main Query].[xx] + " ';
else
areas.alt ='Hello';
}
}
</script>"


Regards

Prakash.