score:1
okay, i got it working.
first adding allowcodeexecution
helped.
but then once i started debugging the highcharts-export-server
code in node, i found that there was an exception being thrown by phantomjs when evaluating (by way of injectjs
) within highcharts-regression.js
.
that module uses for (let i=...
. turns out the let
keyword is not supported by phantomjs. this was only used on one line in the whole module, so i created a local copy and edited it to for (var i=...
and that fixed that problem.
now i'm getting my trend line.
but then i also have a "sma" series on the same chart. so i had to edit the node_modules/highcharts-export-server/build.js
file and add stock/{{version}}/indicators/indicators.js
as a cdnadditional
entry.
if you google how to add extra highcharts modules you will find details on how to do this -- on their forum. basically you edit build.js
then run node build.js
from the root of where you have the highcharts-export-server
installed by npm (or where you cloned it).
note that the resources.files
property wants a string of well formed json. it needs to be a comma separated list of filesystem paths or uris (that start with http). this property does not want an array of strings. just a singe string.
Source: stackoverflow.com
Related Query
- Json to Chart using highchart export server with Node js module its throw error
- Issues using highcharts node export server from ClojureScript - "0x03 error when performing chart generation"
- Overriding log scale with highcharts export server
- Highcharts SVG Export from Python Server Side Code
- Highcharts server side export Pie With Data Labels (phantomjs)
- highcharts-export-server with highcharts-regression plugin in a node module throws an error
- Is it possible to export HTML along with SVG markup to the Highcharts Export Server (http://export.highcharts.com/)
- How to add flags to highcharts export server when started as a module
- Error with PhantomJS when installing Highcharts export server on Azure VM (Ubuntu 20.04)
- Highcharts 9.1.1 export from fullscreen with print option- throw error on browser console Uncaught TypeError: a.hasAttribute is not a function
- Server side chart .svg export with Highcharts and PhantomJS, error loading data from .csv file
- Export Highcharts to PDF (using javascript and local server - no internet connection)
- How to export the whole page or html content with Highcharts not just the chart?
- I can't make Highcharts phantomJs export server work
- Highcharts export chart exportSettings with svg file
- ASP.NET WebRequest to Highcharts export server
- Highcharts phantomjs export server can't parse json string
- Using PhantomJS to create HighCharts grahps server side for use in PDF creation (PHP) - results in exit code 11 from PHPs exec();
- Highcharts - Global configuration with common code and unique data & Headings
- How to export CSV and XLS with external button in Highcharts
- Highcharts export charts as image on serverside with php
- Highcharts async Server Loading with multiple series
- HIghcharts export server hosting ph-batik
- Highcharts Export Server on AWS Lambda
- Loading 'theme' and 'exporting' module with Highcharts using Requirejs
- highcharts export server js script error codes
- Highcharts export with custom HTML graph
- HighCharts Export Server not creating image
- Highcharts - how to export chart with different scale in one click
- How to update the highcharts.js to make the export server to my own ipaddress,instead of connect to the highcharts server?
More Query from same tag
- Highcharts stacked area - update tooltip only after exact area mouse over
- Highchart draggable point - watch changes from component
- How to convert string array to ints to use with Highcharts
- Angular 4 using highcharts gauge
- adjust axes Highcharts plotted versus
- Why is this Highcharts xAxis actual max greater than the xAxis.max I have set?
- High Charts Center Series Label
- Setting highcharts datalabels backgroundColor with the same color of its piechart series
- Highchart Pie chart, de-structure dataLabels and define custom formatter
- Chart rendering issue with resizing <div> container
- Unable to get property '1' of undefined or null reference for Highcharts in IE8
- Not able to have highcharts x-axis labels max
- How can I add different icons in the legend
- Highcharts labels cut off
- Highcharts with a thick line - at 0 values the line is half hidden
- How to remove HighCharts new Hover Effect?
- Scraping data from high charts
- Vue.js life-cycle hook for v-cloak
- Highchart.js X-axis labels - values are NaN
- Change color of area chart programmatically in highcharts
- How to center the y-axis label horizontally in Highcharts?
- Switch between pie charts and bar chart in highcharts
- Highcharts Error #14 with SPServices
- RRD raw data to JSON
- Highcharts Using Data from Ruby on Rails Database
- Different tooltip and value in Treemap || Highcharts
- Highcharts window while decreasing not working
- Highcharts - show only selected points
- Unable to rename Category column for Highcharts Pie chart
- Highcharts/Highstock running laps