Uploading Downloaded Image to Direct Server - HIGHCHARTS

Asked

Viewed 54 times

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

  • What technology are you using in your backend?

  • @d-Guilar I am developing in PHP

  • 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-Guilar I don’t have much idea how to do this, I research what?

1 answer

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

You are not signed in. Login or sign up in order to post.