mozdev.org

Friday February 17th 2012 Do you want fries with that project?

SVGgraphs    

What's New
2004! SVG is back on track in Mozilla. Some local documentation is available.
Demos (Mozilla SVG Required) 2003.04.02 Project suffering bit rot. Email andy (at) mozdev.org to get involved. 2002.03.10 Pie chart added 2002.03.04 Project created!
Svg Graphs
This project is intended to build a robust graphing toolkit in Mozilla SVG and XBL. It is also intended to provide Mozilla SVG implementation specific documentation and sample code. It is distributed under the standard Mozilla tri-license.

Implementation in XBL provides a set of graphing tags, like so:

A sunburst chart.
Implementation
<graph type="bar" orient="horizontal">
  <bar value="200">
  <bar value="400">
  <bar value="300">
<graph>

In the sunburst graph, slices in a pie chart can have subslices:
<slice value="200" title="Passing Go">
  <slice value="50" title="Not going to Jail"/>
  <slice value="150" title="Not going bankrupt"/>
</slice>

Development Status
Bar Graph (50%) Pie Chart (50%) Line Graph (0%) Sunburst Graph (50%,example at GVU, a related example at the gallery for data visualization)


While the title attribute works in SVG, the project has a major to-do of legending, gridding, and scaling in the bar chart example.

What is SVG?
SVG is scalable vector graphics. Check out the demos at the Mozilla SVG Project Page, croczilla.com, Steve Bowen's skeeter-s site, Daniele Nicolodi's site, and at netscape.public.mozilla.svg.

What is XBL?
Learn more about XBL at xblRef.mozdev.org and netscape.public.mozilla.xbl

Developer
The contributors to date include Andy Edmonds, William Cook, and Guy Robinson. If you would like to participate, join the Mailing List or catch the news feed at news.mozdev.org. Additional contributors are very welcome!

The svggraphs project can be contacted through the mailing list or the member list.
Copyright © 2000-2012. All rights reserved. Terms of Use & Privacy Policy.


You are viewing a mobilized version of this site...
View original page here

Mobilized by Mowser Mowser