Comments (5)
In http://export.highcharts.com/, you would put the custom code in the "JavaScript" textarea at the bottom. The callback
options runs too late.
@cvasseng What server argument does this translate to?
from node-export-server.
The customCode
body argument runs prior to initializing the chart, so that would be a good bet.
from node-export-server.
The description for customCode
says
When dataOptions is supplied, this is a function to be called with the after applying the data options. Its only argument is the complete options object which will be passed to the Highcharts constructor on return.
I don't really understand what dataOptions
does (I couldn't find API documentation on Highcharts.data()
), but it sounds like the customCode
callback might not get called if dataOptions
hasn't been supplied.
According to the description, the customCode
callback would get the options object as an argument. How would it get access to the Highcharts(/Highstock) object itself?
from node-export-server.
Hi, if it's of any help, in my node code I add a function that accesses the Highcharts object before rendering the chart. That works for me. See here (line 89): https://github.com/statabs-test/indikatoren/blob/434316b638cbb253f733d2192808305bb80b5d58/build/exportChartImages.js#L89
from node-export-server.
Closed by the #338.
from node-export-server.
Related Issues (20)
- Exporting a scatter with >6k markers fails HOT 4
- Stop creation of log and tmp folder HOT 5
- Export with a fill (background color) of 'none' results in black background HOT 9
- Axis label is not getting translated as per selected lang options HOT 2
- Unable to setup export server in node application with npm package highcharts-export-server v3.0.3 and above HOT 1
- Stacked columns render as a single pixel on export HOT 1
- Is .env file in root is now ignored? HOT 3
- Unable to setup on Ubuntu Server 22.04 HOT 3
- Stop creation of log and tmp folder HOT 6
- Add a `mapChart` constructor to the UI HOT 1
- unable to export variable-pie chart type throwing error HOT 2
- Chart renders in 2 different layouts (random) HOT 1
- Inquiry Regarding Enhancement Request HOT 1
- Styled mode svg export while using as server, no css applied at all HOT 4
- Error: ENOENT: no such file or directory, open '/app/dist//../templates/template.html' HOT 1
- Inject css variables using nodejs module HOT 2
- chart rendering breaks around 5000 x-Axis data points HOT 6
- Font missing in export.highcharts.com HOT 6
- Docker file for V4 HOT 4
- The Google fonts are not installed on the production server HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-export-server.