Robota Softwarehouse
  Home Company Products Projects Developers Contact Search  

Using Scalable Vector Graphics (SVG) in your (web) projects

Now that computers get faster and faster more elaborate presentation methods such as SVG can be considered a good alternative to other technologies such as flash. We decided to investigate.

http://www.adobe.com/svg

Scalable Vector Graphics (SVG) is a text-based graphics language that describes images with vector shapes, text, and embedded raster graphics.

SVG files are compact and provide high-quality graphics on the Web, in print, and on resource-limited handeld devices. In addition, SVG supports scripting and animation, so is ideal for interactive, data-driven, personalized graphics.

SVG is a royalty-free vendor-neutral open standard developed under the W3C (World Wide Web Consortium) Process. Follow the link at the top of the page to learn more on the Adobe website.

The great advantage of using SVG over flash is the good control you have from javascript. To demonstrate this we made a simple linegraph showing three parameter value readings. The value of the paramter is controlled from JavaScript and set to a random value.

The graph scrolls automatically by moving the viewbox. Theoretically this means that it would have been simple to create a function that allows scrolling back over the graph.

Copy and paste the following into a document you save with the extension .svg and open the document in your Internet Exporer.

For more information about SVG see the Adobe website.

You can also download the sample files here. If you download than make sure you re-open the file from your local disk, you cannot view it online due to your browser security settings.

Tags

General conditions (pdf) - Algemene voorwaarden (pdf) - Algemene voorwaarden (html)
Copyright 2005 Robota Softwarehouse. All rights reserved. Email or call +31650262703

tailor-made software since 1990