one2team / highcharts-serverside-export

Server side export for highcharts
92 stars 91 forks source link

Creating advance charts #12

Open MrBigtool opened 9 years ago

MrBigtool commented 9 years ago

Hi, I´m trying to test this tool and I have seen serveral types of charts that I can create (area, areaspline, column, line, pie, scatter and table) but I don´t find advance charts like 'heatmap', 'bubble chart', 'dynamic chart', 'gauges' ... I´m testing what I will be able to create with this tool.

Thanks

lilliank commented 9 years ago

As far as I can tell, highcharts-serverside-export was developed for highcharts version 2.1.2 (four years ago) and hasn't been touched since. I believe the types you list are in the highcharts-more library which came after. We tried for what felt like like a month to get highcharts-serverside-export to work with a more recent version of highcharts, and just could not make it work. We ended up writing our own javascript to emulate gauges for export, which was the one type we need to be able to export, along with other contortions to make it work. We're still stuck with the older highcharts version in our exports, which looks kinda crappy.

This tool was a great idea when it came out originally, but since there's been zero development on it since then, I do not recommend using it now.

zagzag999 commented 9 years ago

I've build upon and modified the sources of the serverside export and went on the approach of opening the exact chart from our app in a clean HTML that is passed to phantomJs for rendering as image. This is instead of relying on svg object passed from ui to server side. What happens is as if the server phantom is opening the ui app on the chart needed for rendering, and then as if print screen. You'll need to manipulate the render sample of phantomJS to match your exact need. I haven't tried HC 4, but the approach will work with any chart, just like we do with other data visualizations libs. On Feb 26, 2015 6:26 PM, lilliank notifications@github.com wrote:As far as I can tell, highcharts-serverside-export was developed for highcharts version 2.1.2 (four years ago) and hasn't been touched since. I believe the types you list are in the highcharts-more library which came after. We tried for what felt like like a month to get highcharts-serverside-export to work with a more recent version of highcharts, and just could not make it work. We ended up writing our own javascript to emulate gauges for export, which was the one type we need to be able to export, along with other contortions to make it work. We're still stuck with the older highcharts version in our exports, which looks kinda crappy.

This tool was a great idea when it came out originally, but since there's been zero development on it since then, I do not recommend using it now.

—Reply to this email directly or view it on GitHub.