Focal Point
Javscript functon to be invoked upon clicking any part of the graph

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/6961086342

August 25, 2007, 01:48 AM
Ved
Javscript functon to be invoked upon clicking any part of the graph
Can anyone please let me know how to invoke a javascrpt function upon clicking any part of a generated graph?

The graph has been generated and saved as a HTMTABLE and is being displyed in the output page in particular table column.

Any code snippet would be great. It would be great if you could also tell me how to invole a function in javascript upon the onMouseOver event ocurring on the graph.
August 27, 2007, 12:27 PM
Kerry
Hi Ved,

Here is an online document that may be of interest:

GRAPH:How to get bubble pop-up when moving mouse over value

If you have not got one, you will need to have an InfoResponse username/password to access the document.

Hope this helps. Smiler

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
August 27, 2007, 01:58 PM
Ved
HI Kerry,

As rightly pointed out by you, I do not have access to this page.

Can you highlight the details to me (in a nutshell), so that I can work on it?

It would be great if you can send me the document as well.

Thanks, Ved
August 27, 2007, 02:11 PM
Kerry
Hi Ved,

Here is the sample code:

GRAPH FILE CAR
SUM HEIGHT
ACROSS CAR
ON GRAPH SET LOOKGRAPH LINE
ON GRAPH SET GRAPHEDIT SERVER
ON GRAPH SET GRAPHSTYLE *
setToolTipDisplay(true);
ENDSTYLE
ON GRAPH SET BARNUMB OFF
ON GRAPH SET 3D OFF
ON GRAPH SET VZERO ON
ON GRAPH SET GRID ON
END


Hope this helps. Smiler

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.