robin_5 Posted July 5, 2016 Share Posted July 5, 2016 Hi,When I implement the report hyperlinks as found on http://community.jaspersoft.com/documentation/tibco-jasperreports-server-visualizejs-guide/v60/api-usage-report-hyperlinks , I get a crazy bug. After I click on a hyperlink on a graph to trigger a drilldown, the jasperreport graph goes haywire with "cannot read property 'call' of undefined" errors. When I hover outside the report, I get hundreds of the errors, most likely due to visualize.js all of a sudden listening to mousemove events outside of the report. I am then unable to highlight/focus/click any other hyperlink/element on the report.Anyone know if there is a fix for this?FIX:Should have mentioned that I found a fix if anyone else encountered a similar problem.In the linkOptions->events report property, in addition to a 'click' listener, I gave a 'mouseOut' and a 'mouseOver' listeners. I gave them null dummy functions that did absolutely nothing, and then the problem disappeared. Link to comment Share on other sites More sharing options...
dpetzold Posted July 12, 2016 Share Posted July 12, 2016 In this fiddle you can see how hyperlinks should be implemented using Visualize.js.With this example, when you select from a city in the report it will open a secondary report below. Link to comment Share on other sites More sharing options...
robin_5 Posted July 13, 2016 Author Share Posted July 13, 2016 EDIT: moved to main post Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now