NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: stephen j ryan on April 29, 2014, 03:46:13 PM
-
Anyone of you web talk gurus using a live graph with a javascript library?
i would love to know how to do this using nettalk, IE
where to respond to the request from the browser and how to send the data back to the javascript graph.
new to javascript and NT and web
many thanks
-
I done it.
If your graph is populated with standard data (ex: year to date revenue) better prepare your graph data on server and just get it from server as graph is requested than to prepare every time when user access it. If you have many users with same request it could be hard work for your server.
Here is some js code I am using. First function is better to position in a header of page and second function which retrieve data on bottom of page, it is assure you that all involved functions are into browser when they start to executing. Function GetRadial depend on what JS you are using and circular.json supply data for preparing graph. This circular.json is something you can prepare on server to wait ready for display no meter how many users ask for it.
function GetRadial(data) {
// code that display your JS graph
};
$.getJSON("circular.json", function (prviData) {
GetRadial(prviData);})
Best regards,
Djordje Radovanovic
-
I have used http://www.highcharts.com/. Its free for non-commercial use. If you are after non-commercial let me know and I will see if I can get you some sample code.
Thanks,
Debra
-
Hi Debra
Please I´m interested in your code to use http://www.highcharts.com/.
thanks
-
I have used http://www.highcharts.com/. Its free for non-commercial use. If you are after non-commercial let me know and I will see if I can get you some sample code.
Thanks,
Debra
hi debra, it would be great to see some coded examples.. looking at JS videos, strange little language so i need as much help as i can get!!!
many thanks ..
-
I think after looking at real time graphing, server loads, XML verus Comma delimited im starting to think a server created graph displayed as an image might be good enough ..
-
Obviously (or maybe not obviously, which is why I'm saying it) Insight is good for this.
http://www.capesoft.com/accessories/isgsp.htm
cheers
Bruce