Ad
How To Use Echarts In ExpressJS?
I'm finding the way to use Echarts library on my ExpressJS project. It has npm package "echarts", however there is no document on how to use it. I would like to create chart and get it Base64 image.
Thanks
Ad
Answer
echarts
is primarily a client-side library, Do you really want to render your charts at server side? It is not possible out of the box, but you can use headless tools to generate the images.
Look at puppeteer, headless chrome etc.,
Ad
source: stackoverflow.com
Related Questions
- → Maximum call stack exceeded when instantiating class inside of a module
- → Browserify api: how to pass advanced option to script
- → Node.js Passing object from server.js to external modules?
- → gulp-rename makes copies, but does not replace
- → requiring RX.js in node.js
- → Remove an ObjectId from an array of objectId
- → Can not connect to Redis
- → React: How to publish page on server using React-starter-kit
- → Express - better pattern for passing data between middleware functions
- → Can't get plotly + node.js to stream data coming through POST requests
- → IsGenerator implementation
- → Async/Await not waiting
- → (Socket.io on nodejs) Updating div with mysql data stops without showing error
Ad