Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

2D graphs on the web (from data table)

Status
Not open for further replies.

js

Full Member level 5
Joined
Oct 9, 2005
Messages
266
Helped
38
Reputation
76
Reaction score
36
Trophy points
1,328
Activity points
2,670
Hi
I will send true ftp on some web site data (time, temperature...)
What you suggest to plot 2D graph on www site?
Some Java example or any another free web tool?
Thanks!
 

anybody use Pachube servis? **broken link removed**
What you think?
 

There are a number of factors to consider
  • Do you want to graph the data server side, or client side?
  • Do you have a few data points or many?
  • What browsers(s) do you need to support?
If you are doing client-side, then the browser(s) you need to support may determine what you can use. Scalable Vector Grpahics (SVG) is one way to do it but it's not supported on Internet Explorer prior to IE9.

A popular method is to use JavaScript to write HTML DIV's to represent the data points. A fairly decent JS library is "wz_jsgraphics.js" - How to use JavaScript to draw lines, polygons and other objects on your pages

If your requirement is for a lot of data, or fast plotting JavaScript may not be fast enough. For some applications I've developed Java Applets. Java is much faster than JavaScript and using an Applet let's you control the appearance of your data better than JavaScript does - especially when supporting multiple browsers.

If you need to generate the graph on the server-side you'll need to do it using something like HTML DIV's to represent the data points.
 
  • Like
Reactions: js

    js

    Points: 2
    Helpful Answer Positive Rating
The CANVAS Class of JAVA is an native API easy-to-use.
There are a lot of examples on web.

+++
 
  • Like
Reactions: js

    js

    Points: 2
    Helpful Answer Positive Rating
Thanks for answers ...
I only need every minut or maybe every 5min sent data to HTML page (true FTP file?) with date/time stamp and temperature!
Like this:
....
03171408 T=28
03171508 T=28
03171608 T=29
which mean
03 is day in month (example 3.april.2011)
17h 14min 08s
and T= mean temperature!
and this data must be ploted inside HTML......!

....
I will inspect your suggestions! Thanks!
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top