Jump to content
Changes to the Jaspersoft community edition download ×

Unable to use functions in AdHoc chart advanced properties


Recommended Posts

Hi Everyone,

When using a chart in AdHoc view in jasper server, i am unable to use functions in advanced chart formatting. For example, i want to truncate the data labels on xAxis, i tried using xAxis.labels.formatter and it's expression as function(){return this.value.substring(2, 5);}. After applying this property, i am unable to see the chart and getting an error : Uncaught javascript error. Can someone help me out in this?



Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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...