Saving the content of an HMTL container as a picture

Author: ncolmart@medinfo.fr (ncolmart)

Hi I'm using an HMTL widget in order to display results as a line chart The results are correctly displayed. It works well. But I'd like to save the graph displayed in the Html widget as a picture in order to save it in the database and to include it eventually later in a report (with Word). It seems that it's not possible with javascript. Does anyone have an idea how I could store the graph as a picture ?  Thanks

2 Comments

  1. Hi Ncolmart You can do it with the Highcharts library  http://www.highcharts.com/docs/export-module/export-module-overview Have nice day.


    Author: mafe (mafe@groupe-t2i.com)
  2. Hi mafe I'll check this library. Thanks for your help Have a nice day


    Author: ncolmart (ncolmart@medinfo.fr)