Jump to content
We've recently updated our Privacy Statement, available here ×

Highchart.wrap usage in jasper report


msiljegovicgmail.com

Recommended Posts

I would like to have this implemented in jasper report

https://stackoverflow.com/questions/42259571/conditional-highcharts-marker-symbol-using-javascript

That means execute somewhere this portion of script

const H = Highcharts;H.wrap(H.Series.prototype, 'drawPoints', function(p) {  const options = this.options;  const symbolCallback = options.marker && options.marker.symbolCallback;  const points = this.points;  if (symbolCallback && points.length) {    points.forEach(point => {      const symbol = symbolCallback.call(point);      if (symbol) {        point.update({          marker: {            symbol: symbol          }        }, false)      }    })  }  p.call(this);})[/code]

I'm not sure how to run Highchart.warp method from post inside report definition.

Anyone could help here?

Thx

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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