Hi
how can i add help text(tooltip) to some measurer celss in cross tabs using java?
Page 1 of 1
how can i add help text(tooltip) to some measurer celss in cross tabs using java
#2
Posted 29 February 2012 - 07:34 AM
You will need to add some Javascript and use a bookmark property to do this.
So, add a bookmark expression like: "FindMeForToolTip-" + row["someId"]
So, lets say that row["someId"] is just returning Integer values 1 - 10.
Then, add a Text REport Item set to HTML at the end of the report, and have it look something like:
Thats the basic idea. What this will do is override the mouse over event in client side javascript. You might want to use a for loop to get all the elements.
So, add a bookmark expression like: "FindMeForToolTip-" + row["someId"]
So, lets say that row["someId"] is just returning Integer values 1 - 10.
Then, add a Text REport Item set to HTML at the end of the report, and have it look something like:
<script>
var element = document.getElementById("FindMeForToolTip-1");
element.onmouseover = //some function or something that handles displaying a pop-up with the tooltip. You can
//usually get a good idea how to do this by looking at the code generated for tooltips
//with Charts with Interactivity.
</script>
Thats the basic idea. What this will do is override the mouse over event in client side javascript. You might want to use a for loop to get all the elements.
Page 1 of 1






MultiQuote






