COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: curious on 30 Mar 2012 02:20:26 AM

Title: values in tooltip crosstab
Post by: curious on 30 Mar 2012 02:20:26 AM
I created a crosstab with tooltips. This tooltip shows information from a query. However when hovering over a node the sum of the rowvalues (or columnvalues) popup. Of course I want the values belonging to that node.

Did I forget something ??
Title: Re: values in tooltip crosstab
Post by: pricter on 30 Mar 2012 08:23:27 AM

The information you want to display in the tooltip is in the same query with the one of the crosstab?
Could you attach the report spec?
Title: Re: values in tooltip crosstab
Post by: curious on 04 Apr 2012 03:31:47 AM
The values are indeed in the same query. They are the specification of the displayed value in the crosstab.

I'll try to make a readable spec
Title: Re: values in tooltip crosstab
Post by: curious on 09 Apr 2012 01:15:00 PM
Herewith the report spec.

Title: Re: values in tooltip crosstab
Post by: pricter on 10 Apr 2012 04:36:14 AM
I uploaded the report specification and I saw the problem

The following article describes how to place custom tooltip in a chart
http://www-01.ibm.com/support/docview.wss?uid=swg21342149

I believe with some modifications you can achieve the above in croostab also
Title: Re: values in tooltip crosstab
Post by: curious on 13 Apr 2012 12:45:34 PM
Unfortunately I don't have enough knowledge of java to modify this script. Besides that, isn't there a great difference between a chart and a crosstab ?

When there is no difference :
Should I change something in :
areas = document.getElementsByTagName('area');

and what will the classname have to be in : if(areas.className='dl chart_area')

your help is much appreciated  :)