score:0
Try debugging in the QtWeb browser.
Instructions on debugging javascript in Qt here
You may find that your javascript contains unsupported syntax or keywords, which results in the issue as described.
The Qt WebKit rendering engine that wkhtmltopdf was using doesn't support ES2015, so you might have a simple solution like me, which was to replace keywords like let
and const
.
score:4
Try setting this:
series: { 'enableMouseTracking: false, shadow: false, animation: false' : nil}
This solution worked for me. I have a pdf view and a html view and implemented solution has:
<more highchart options>
...
plotOptions: {
line: {
marker: {
enabled: false
},
dashStyle: 'ShortDash'
},
series: { #{request.format == 'pdf' ? 'enableMouseTracking: false, shadow: false, animation: false' : nil} }
},
...
<more highchart options>
score:5
I fixed it by setting this options:
plotOptions:
line:
animation: false
enableMouseTracking: false
shadow: false
Also, don't forget to include JQuery and inline your styles and scripts
Source: stackoverflow.com
Related Query
- Highcharts code with same set of code/data works in PHP but does not work in JSfiddle
- Highcharts does not work with wicked_pdf
- Generating Highcharts from MySQL data with PHP does not work
- Highcharts (highstocks) tooltip does not work on latest firefox 64.0 with useHTML=true
- Highcharts heat map does not work with a wide range of data values (min: 0, max: 5,000,000)
- Highcharts with angularjs drilled down does not work
- Highcharts Range Selector does not work with multiple series
- Highcharts - Pinch zoom does not work on chart with multiple y axes
- Highcharts with Public Google Spreadsheet does not work
- Highcharts reflow does not work on class selector
- Tooltip.followPointer does not work in highcharts 3
- Highcharts graph does not update with firebase
- tooltip in highcharts does not work properly
- tool tip does not work correctly if text is more in highcharts
- Multiple axis does not work on Highcharts 4
- rCharts and highcharts with shiny plot does not update correctly
- Highcharts - colorByPoint does not work
- Synchronized HighCharts does not work when charts have different width
- Navigator in highcharts graph does not work
- Highcharts plotBands do not work with setExtremes function
- HighCharts delayForDisplay attribute does not work
- Highcharts Highmaps the data does not match with polygons correctly
- Highcharts does not display years on Xaxis when data with NULL values
- tooltip formatter Highcharts not work with Firefox ? - Bug?
- How to modify the code so that Highcharts graph does not cover fixed navigation bar at the top of the page?
- highcharts - drilldown: does not workn with AJAX
- Tooltip does not work with Gauge chart
- xAxis.Categories does not works in highcharts when used with range selector
- Highcharts (highstock.js) exporting function does not work on Embedded Visualforce pages
- Highcharts export web war does not work on Weblogic server
More Query from same tag
- Highchart multiple series with csv
- How to load data dynamically into highcharts charts
- Changing colors of slices depended on text in the name
- Highcharts setData not working when using same array reference
- How to set the background of clicked or selected label on y axis gantt chart Highcharts?
- How to show specific point to show specific information in HighCharts
- Highcharts pie chart outer circle
- dataLabel not show on every columns in HighChart
- Highcharts: how to maintain the same order of category labels when bar chart changes to column chart
- how to split by hour in highcharts while using x-axis type date range
- Json string without escape characters in highcharts
- Updating Highcharts column chart based on drop down-menu
- HighCharts: How to use reflow to allow auto-resize after changing size
- Max number of flags on highstock control
- jQuery & highcharts & Math prototype ?
- using Highcharters in R with Shiny, control highstock chart height failed
- Drawing horizontal lines parallel to x axis using highcharts.js
- HighCharts Stacked column
- How to take the middle out of a highchart donut chart?
- Show Indicator at last point on Highchart spline chart
- How to modify Negative Axis Bar Graph in Highcharts?
- Last label on xaxis disappears when resize
- JasperReports: HTML5 high chart X Axis label font size
- Highcharts DateTime not parsing correctly
- Highcharts - Local export server installation issue (Tomcat Java)
- JSON format for Highcharts line and bar graph
- Area chart with two data points. Full width
- manipulating data for Highcharts graph using javascript
- Highcharts.SVGRenderer not working properly with Drill Down
- Highchart-graph does not appear in internet explorer