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

VML, SVG, FLASH or what? Need Web Charts Ideas

P: n/a
I would like to create web charts. My site is using AJAX, so I thought
of VML and SVG for chart graphics. But there is a browser compatibility
issue. Flash would be a good solution but I do not know ActionScript
(only basic animation). Any other ideas or links or feedbacking the 3
above technologies are so welcome...
Thank you.

Nov 8 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
VK

vu******@gmail.com wrote:
I would like to create web charts. My site is using AJAX, so I thought
of VML and SVG for chart graphics. But there is a browser compatibility
issue.
VML/SVG (SVL) covers Firefox 1.5>, IE5.5>, Opera8>, Netscape8>,
Camino1That can be enough of coverage on not depending on your
particular demand.
Flash would be a good solution but I do not know ActionScript
(only basic animation).
If you know JavaScript, ActionScript-JS will be easy to recognize
because it's an ECMAScript outlet as well. (ActionScript-VB is very
rarely used by now and no one is forcing to use it anyway).
Any other ideas
A server-side image generating program (.bmp or .gif) with image.src
updated client-side. The oldest solution under the moon, but still in
use. That gives you full coverage for any javascript-enabled UA but you
have a server load impact.

Nov 8 '06 #2

P: n/a
Thank you. Your answer is very helpful. Because I use AJAX (JS + XML),
I see 2 solutions on top so far: VML/SVG or Flash. I research them to
see what is involved. Either way I will have to learn them. Your hint
about ActionScript-JS was extremely useful, I am looking into that now.

The question stays: out of these two solutions, what would be the best
one for AJAX app and why. It is just if you want to share with your
knowledge...
Thank you.
VK wrote:
vu******@gmail.com wrote:
I would like to create web charts. My site is using AJAX, so I thought
of VML and SVG for chart graphics. But there is a browser compatibility
issue.

VML/SVG (SVL) covers Firefox 1.5>, IE5.5>, Opera8>, Netscape8>,
Camino1That can be enough of coverage on not depending on your
particular demand.
Flash would be a good solution but I do not know ActionScript
(only basic animation).

If you know JavaScript, ActionScript-JS will be easy to recognize
because it's an ECMAScript outlet as well. (ActionScript-VB is very
rarely used by now and no one is forcing to use it anyway).
Any other ideas

A server-side image generating program (.bmp or .gif) with image.src
updated client-side. The oldest solution under the moon, but still in
use. That gives you full coverage for any javascript-enabled UA but you
have a server load impact.
Nov 8 '06 #3

P: n/a
VK
vu******@gmail.com wrote:
Thank you. Your answer is very helpful. Because I use AJAX (JS + XML),
I see 2 solutions on top so far: VML/SVG or Flash.
For Flash programming it is still better to ask in more Flash-related
newsgroups.

For SVG/VML you may take a look at the library written by Lutz
Tautenhahn <http://www.lutanho.net/svgvml3d/index.html>
Unfortunately the SVG part is not optimized for the native browser
support (if presented) but uses Adobe SVG Viewer everywhere.
Still more than a year ago it became the inspiration idea for my SVL
(Superimposed Vector Language) library. It doesn't mean I used anything
from the code, but I fully realised the hidden graphics power of modern
UA's. I wanted to release a light version of SVL library as open
source, but there are some copyright protections I'd like to take care
first. ("Money first, community after" - kidding :-)

Dojo <http://dojotoolkit.org/also has a SVG/VML module but from my
humble experience the effectiveness and reliability of their modules
is regularly below my humble standards.

Nov 8 '06 #4

P: n/a
vu******@gmail.com wrote:
I would like to create web charts. My site is using AJAX, so I thought
of VML and SVG for chart graphics. But there is a browser compatibility
issue. Flash would be a good solution but I do not know ActionScript
(only basic animation). Any other ideas or links or feedbacking the 3
above technologies are so welcome...
Thank you.
I'm not so keen on VML, but both SVG and Flash would be
things I would consider.

Until of late I would have tipped in the direction of Flash,
if the charting required pie charts or such , as otherwise I could do
most charts with browser native resources.

The support available natively for SVG and via plug-in
otherwise, makes it a little more difficult a choice.
In 2008 Adobe will discontinue the ASV plugin, *BUT* Adobe
just bought Macromedia (Flash) so being as even the might of Microsoft
or Mozilla eventually gives way to the w3.org I expect the SVG parser
of ASV will find new life as the front end for a flash engine.

Of course there is the here and now of development.
I'm already making money with SVG development and
even have projects migrating Flash to SVG

It is just these last couple of versions of browsers like
Firefox,Opera,Seamonkey etc. that make SVG now viable.

For bar graphs, pie charts and such , SVG is more than ready
to do that task now , ans will get nothing but better.

SVG being an XML derived standard is just as templatable
via XML/XSL as HTML. Over the long haul life gets easier
using SVG , if your project falls within the subset of abilities
represented by the overlap in implementation thus far of the various
viewers, with charting being a fairly easy target to do.

Dec 7 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.