By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,606 Members | 2,019 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,606 IT Pros & Developers. It's quick & easy.

creating graphs in javascript/etc

P: n/a
hello friends
i am trying to dynamically create graphs in browsers(as in graph
theory, something like this http://sawamuland.com/flash/graph.html ,
not like excel graphs) but i am unable to find any starting point.

are there some tutorials/libraries to do the same ? i am ok to develop
these in javascript/xhtml/flash/etc as long as this can be done
dynamically.
thanks a lot
ravinder thakur
Jun 27 '08 #1
Share this Question
Share on Google+
4 Replies


P: n/a
VK
On Jun 15, 8:50 pm, रवींदर *ाकुर (ravinder thakur)
<ravindertha...@gmail.comwrote:
hello friends

i am trying to dynamically create graphs in browsers(as in graph
theory, something like thishttp://sawamuland.com/flash/graph.html,
not like excel graphs) but i am unable to find any starting point.

are there some tutorials/libraries to do the same ? i am ok to develop
these in javascript/xhtml/flash/etc as long as this can be done
dynamically.
With my Superimposed Vector Language (SVL) still being under a non-
disclosure copyright sell deal I may only point to the open source SVG-
VML-3D library by Lutz Tautenhahn which was the inspiration solution
for SVL:
http://web.archive.org/web/200706230...l3d/index.html
Unfortunately the author's site seems to be down by now.

It is not the only way of course, but the unifying interface library
over SVG and VML does seem to me the only serious approach. The baby
toys with pixel-size colored DIVs and stuff are plain funny by now.
Jun 27 '08 #2

P: n/a
SAM
(ravinder thakur) a crit :
hello friends
i am trying to dynamically create graphs in browsers(as in graph
theory, something like this http://sawamuland.com/flash/graph.html ,
not like excel graphs) but i am unable to find any starting point.
couldn't that do what you want :
<http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm>
or at least be a start point.

--
sm
Jun 27 '08 #3

P: n/a
VK
On Jun 15, 9:25 pm, VK <schools_r...@yahoo.comwrote:
With my Superimposed Vector Language (SVL) still being under a non-
disclosure copyright sell deal I may only point to the open source SVG-
VML-3D library by Lutz Tautenhahn which was the inspiration solution
for SVL: http://web.archive.org/web/200706230...l3d/index.html
Unfortunately the author's site seems to be down by now.
Just in case to make it totally clear: I didn't use a single chunk of
Tautenhahn's code in SVL. It was as I said an inspiration solution: I
realized _what_ can be done with VML and SVG combined and that it
_can_ be done.

OT P.S. The blocking part remained the necessity to have the original
HTML code delivered with IE-specific namespace tags in it
(Tautenhahn's solution as well as say Google Maps just live with it).
After I had found by pure occasion, while searching a completely
different info, IE's document.namespaces.add method then the rest of
the puzzle came together. It remained the matter of many hours and
days to write the framework interface over both vector formats.
Jun 27 '08 #4

P: n/a
रवींदर *ाकुर (ravinder thakur) wrote:
i am trying to dynamically create graphs in browsers(as in graph
theory, something like this http://sawamuland.com/flash/graph.html ,
not like excel graphs) but i am unable to find any starting point.

are there some tutorials/libraries to do the same ? i am ok to develop
these in javascript/xhtml/flash/etc as long as this can be done
dynamically.
Since this is about graphs, (X)HTML and JavaScript (alone) are not what you
are looking for: (X)HTML is the (Extensible) Hyper*Text* markup language,
and ECMAScript implementations like JavaScript require an external API to be
useful. Although one could devise (or copypaste) a dirty, inefficient,
resource-consuming hack to draw arbitrary edges and vertices with positioned
block elements, the HTML DOM API is not suited to do what you want.

Instead, standalone or embedded SVG, Flash, and Java are probably the way to
go. SVG and Flash can be scripted with ECMAScript implementations; SVG with
JIT-compiled scripts, Flash with (probably) once-compiled ActionScript in an
..swf movie. As for Java, AFAIK the Java API already provides the necessary
graphic-related classes by itself to draw on the canvas of an applet or an
application window, and to handle pointing devices.
HTH

PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f8*******************@news.demon.co.uk>
Jun 27 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.