Ask Question Forum:
C
O
M
P
U
T
E
R
2
8
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Y-position of the mouse cursor
Attachment:===
Plot a chart in Javascript and JSP

Why people choose JSP in server to do the coding instead of leting client-side to do
coding in IE/Firefox. Which side (client-side or server-side programming ) is more
efficient and faster ?
Question-1 At yahoo, financial page, the chart of Dow Jones is making from Javascript
by cilient side or JSP script by the server side ? Why they're doing that ?
Question-2 How can I start to make a chart based on SVG standard from w3C.
What free library function of graph and chating is better and easier to be used ?
Question-3, If my csutomer is sending data at every second, how can I show him a
chart or graph on my home domain page to let him see our respomce. In other word,
after receiving his streaming data, I will do some fast internal calculation and send the
data to the chart on my website.
Question-4 Should I make my extract data into XML format or others in order to take
easy advantage to use the chart function from the library you suggest
Br Regards
Duncan
>why yahoo graph at its server side ?
I think it's because people don't need to have a dynamic graph (lot of updates). A static one is good. A dynamic graph eat more bandwidth. You protect the data in this case
>IN other world, I should send prgram code to my customer, and ask him to run the program wiht his streaming data at his side, RIght ?
I understand what you project to do. I seen a project like this some month ago on EE, I will try to found it to give you the link.
Yes, the user load you page and a first graph is draw. You set a timer (http://www.w3schools.com/js/js_timing.asp) that try to load (ajax : http://api.jquery.com/jQuery.getJSON/) every 10 second data (json format : http://www.json.org/js.html) to redraw the graph
>why yahoo graph at its server side ?
I think it's because people don't need to have a dynamic graph (lot of updates). A static one is good. A dynamic graph eat more bandwidth. You protect the data in this case
>IN other world, I should send prgram code to my customer, and ask him to run the program wiht his streaming data at his side, RIght ?
I understand what you project to do. I seen a project like this some month ago on EE, I will try to found it to give you the link.
Yes, the user load you page and a first graph is draw. You set a timer (http://www.w3schools.com/js/js_timing.asp) that try to load (ajax : http://api.jquery.com/jQuery.getJSON/) every 10 second data (json format : http://www.json.org/js.html) to redraw the graph
>why yahoo graph at its server side ?
I think it's because people don't need to have a dynamic graph (lot of updates). A static one is good. A dynamic graph eat more bandwidth. You protect the data in this case
>IN other world, I should send prgram code to my customer, and ask him to run the program wiht his streaming data at his side, RIght ?
I understand what you project to do. I seen a project like this some month ago on EE, I will try to found it to give you the link.
Yes, the user load you page and a first graph is draw. You set a timer (http://www.w3schools.com/js/js_timing.asp) that try to load (ajax : http://api.jquery.com/jQuery.getJSON/) every 10 second data (json format : http://www.json.org/js.html) to redraw the graph