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

Can I retrieve data from tooltip on chart and store in Data Item?

Started by briancole, 14 May 2014 03:21:58 AM

Previous topic - Next topic

briancole

Hi All,

When I hover over an element in my chart, a tooltip appears containing the detail around the element I have selected. Is it possible to extract the information from this tooltip into a Data Item?

I have tried using the following Javascript to extract the data from the chart, but it runs too slowly to be useful:

var oCV = window['oCV'+'_THIS_'].getRV().getCV()
oCV.getSelectionController().setSelectedChartArea(this);
oCV.getSelectionController().getSelectedObjectsJsonContext()[0]['com.ibm.widget.context']['values']['Source ID'])

However, the tooltip will appear almost instantly, which is why I'm wondering if there is a way to capture this instead.

Thanks,
Brian
Brian Cole
NHS

Francis aka khayman