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

Show tool tip for Combination chart series

Started by Kriahna, 17 Dec 2010 03:24:25 AM

Previous topic - Next topic

Kriahna

Hi,

I am working on cognos 8.4 Report studio.I am creating one combination chart with one bar and two lines as series.
The  data items used for lines are [LCL] and [UCL] respectively.I want to show the text LCL and UCL when I am moving the mouse over the respective lines in chart.

I have enabled Tool tip property as'show' for the chart.

Please tell me how can I achieve it.

Regards,
Kriahna

Sreeni P

#1
Quote from: Kriahna on 17 Dec 2010 03:24:25 AM
Hi,

I am working on cognos 8.4 Report studio.I am creating one combination chart with one bar and two lines as series.
The  data items used for lines are [LCL] and [UCL] respectively.I want to show the text LCL and UCL when I am moving the mouse over the respective lines in chart.

I have enabled Tool tip property as'show' for the chart.

Please tell me how can I achieve it.

Regards,
Kriahna


Hi Krishna,

you can achieve this using JavaScript in your report

drag two HTML items in to the report, and place this simple java script in to that elements

be sure that your query item should be placed between these two HTML items.

HTML Item 1:Define the first HTML item source type as a Report Expression from properties and define it as:
'<span title="' + [Drag tool tip description item which corresponds to report element] + '">'

HTML Item 2:define the second HTML item source type as a Text from properties:
</span>

Hope it will fixes your problem................

Regards,
Sreenivas

Kriahna

Hi Srinivas,

It is working. one change I made is instead of giving the property of first HTML as Report Expression I have given it as text.

Thanks for your assistance.