|Update partial report in BIRT [message #367095]
||Wed, 18 February 2009 04:49
| Roger Schildmeijer
Registered: July 2009
I have two diagrams in my BIRT report. One pie chart and one bar chart |
type. The bar displays detailed information about the recently selected
pie (from the first pie chart).
(Pax helped me with this interactive feature.)
The following script snippet (from the value series -> interactivity ->
invoke script) enables this interactive functionality, where my report
parameter is called "selectedCourseName"
var newURL = new String(location.href);
newURL = newURL.replace(/selectedCourseName=[\w +]+/,
"selectedCourseName=" + categoryData);
The problem is that the entire report is repainted/regenerated everytime
the user clicks on a pie piece. What I want to accomplish (probably with
Ajax) is to only "redraw" the second (bar chart).
Powered by FUDForum
. Page generated in 0.01761 seconds