4:28 am


Gold
April 26, 2013

Hi,
I am using the excellent multi axis chart. I have developed a web app in javascript. What I would like to do is programatically call a url which returns an svg version of the highchart so i can include this in my app.
From reading the documentation it seems to support a method for getSVG (Object additionalOptions) but I cant for the life of me figure out how I would use it to do the above.
Any assistance would be appreciated
Kind Regards
Chris
8:43 am

Admin
March 14, 2011

Hi Chris,
I can't think of a way that you'd be able to serve the result of getSVG directly via a URL call, since it requires the client to be running JavaScript in a browser.
The closest thing that I can think of would be to have a web browser always open that dynamically loads the chart, use JavaScript to get the SVG string and post it to a database, and then create an API that pulls the string from the database.
lee
10:42 am


Gold
April 26, 2013

Hi,
Interestingly it looks like its something which highcharts have already implemented
http://www.highcharts.com/component/content/article/2-articles/news/52-serverside-generated-charts
Most Users Ever Online: 114
Currently Online:
22 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
rw950431: 261
Vinod: 196
piajola: 85
turgo: 70
vespapierre: 63
Adarsh_Murthy: 62
Member Stats:
Guest Posters: 1
Members: 5703
Moderators: 0
Admins: 2
Forum Stats:
Groups: 4
Forums: 17
Topics: 1313
Posts: 4565
Newest Members:
BarryMaync, ThomasRougs, DonaldGen, prince, JrGordon, ElamsweemsAdministrators: Hans: 387, lee: 457