0
I am using an API called highcharts, in it I bring graphics and I can download images of it in png, I would like to know if there is a way to make when I download this image that same image stays in a folder on the server
0
I am using an API called highcharts, in it I bring graphics and I can download images of it in png, I would like to know if there is a way to make when I download this image that same image stays in a folder on the server
1
use this lib - highcharts-phantomjs
Using [PhantomJS][1]
you can generate your chart from a file [json][1]
, using simple command lines such as:
-infile -outfile
. Where infile is the json file and out file is the name of the png file and the path it will be saved in the server.
Browser other questions tagged javascript jquery html highcharts
You are not signed in. Login or sign up in order to post.
What technology are you using in your backend?
– d-aguilar
@d-Guilar I am developing in PHP
– Julio Henrique
I did it in C#. An idea that can help you: Highcharts generates a SVG in your HTML. You can send the SVG to the server, then convert that SVG to PNG and save to your server.
– d-aguilar
@d-Guilar I don’t have much idea how to do this, I research what?
– Julio Henrique