score:1
Okay, I've managed to get it to work (finally). It all stems from the fact that I'm in DEV mode (obviously because I'm still developing this bit of functionality). But while in DEV mode, I (by default) only have access to one thread. So all I had to do was uncomment the execution pool in application.conf:
play.pool=3
and then my highchart started rendering on the server and then getting inserted as part of the PDF. The additional thread was used for the request to render the chart. One thread was not enough for this scenario and therefore the call to the URL to render the image binary hung.
score:0
It seems your issue is a relative url, change the code to:
<img src="@@{ChartGenerator.go()}"> //notice double @@
to generate absolute paths
Source: stackoverflow.com
Related Query
- Play Framework: PDF'ing a template that uses highcharts JS library via a Job
- what means ${demo.css} in example files of highcharts ? That piece of code seems to be literal
- Simple, Open source PHP wrapper for Highcharts library
- What's the code in Highcharts such that the bars (columns) in the same group use the same color?
- Converted PHP code that built an array to JS and now highcharts doesn't work - what did I do wrong?
- Decimals on yAxis are not being displayed, even if that same code works on highcharts jsfiddle
- How to modify the code so that Highcharts graph does not cover fixed navigation bar at the top of the page?
- Reload chart data via JSON with Highcharts
- What format does the highcharts js library accept for dates?
- Loading Highcharts via shim using RequireJS and maintaining jQuery dependency
- HighCharts load data via ajax
- HighCharts - How to create dynamic chart that exports EVERYTHING
- Highcharts - set maximum range for yAxis but keep axis dynamic within that range
- Passing Django Database Queryset to Highcharts via JSON
- Library duplication issue using Highcharts in Jaspersoft Studio
- Customizing the Stockchart range selector buttons from HighCharts library in GWT (and Javascript in general)
- highcharts link series such that turn one off turns off the other
- HTML5 Chart library that supports pinch zooming
- "pointAttr" attribute is missing in Highcharts library 5.0.0
- Add onclick event on chart made with the highcharts library
- Using PhantomJS to create HighCharts grahps server side for use in PDF creation (PHP) - results in exit code 11 from PHPs exec();
- How to remove text which was added via chart.renderer in Highcharts
- Highcharts - Global configuration with common code and unique data & Headings
- Highcharts add tooltip that has a small arrow pointing toward the series
- creating a bar chart using Highcharts with React - getting an error that rendering div isn't found
- Highcharts - how to toggle datalabels via js?
- Formatting Highcharts plot via rCharts
- How to use HighCharts dart library in Flutter app?
- Highcharts library UI glitches
- Selecting a point programmatically on stockchart from HighCharts library in GWT (Also in native JS)
More Query from same tag
- Highcharts grouping column, hide in tooltip
- how to resize custom button's width and height in highcharts
- Highcharts - Exporting with credits in IE 7/8
- Highcharts get table from range selected only
- Highchart date quarter view on axis
- Highcharts not starting at give start time
- Hight chart show series data in milliseconds
- create-react-app Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0
- HighCharts - Add dynamic new functions
- Highcharts: having trouble recreating stacked area chart from Excel with positive and negative values
- Sync max min between many highcharts charts (in real time)
- use highmaps in .vue file
- Highcharts - Custom X axis format
- Generate PDF from a page with highcharts on it with abcpdf
- Adding highchart3d in Angular 6 application
- Highcharts : On drillup, how can I unselect my selected point?
- No animation when using addPoint()
- Highcharts double y axis constant 0 value on both sides
- change VueJS component data value from inside Highchart event
- Clickable Bars in js Highcharts?
- Highcharts: are multiple legends possible?
- Highcharts data from Google spreadsheet show line chart for one series
- Data are not in sequence in Highcharts
- Highcharts window while decreasing not working
- highchart column chart color for same month
- highcharts tooltip format millions billions
- Parsing JSON for use with Highcharts using jquery .parseJSON or JSON.parse: how to remove quotes from function calls for formatters?
- Importing Data in Highcharts with PHP
- How to add different click events on each pie of a pie chart created by highcharts usin jquery
- single array timestamp as xAxis for multiple series