Jump to content
Changes to the Jaspersoft community edition download ×

How to use Javascript functions in tooltip.formatter property in Jaspersoft Studio?


jlongoria

Recommended Posts

I'm trying to follow the steps in this tutorial from the Jaspersoft Wiki to format my tooltip with a javascript function, but I cannot get it to work. I added the com.jaspersoft.jasperreports.highcharts.function.properties.allowed  property and set it to true. I added tooltip.formatter and put the following as an expression: "function() {return this.point.x}"

 

But this did not work. The report ignores this property; Upon inspecting the HTML source of the generated report, the tooltip.formatter property is not listed in the highcharts properties section. What can I do to make this work?

For reference I am using Jaspersoft Studio 6.0.0final

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • 6 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...