Unable to use functions in AdHoc chart advanced properties

2

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?

Thanks,

Narendra

narendrapothuganti7's picture
Joined: Aug 4 2015 - 8:44am
Last seen: 2 weeks 6 days ago

0 Answers:

No answers yet
Feedback
randomness