[ann] svg graph generator, early release

Hi,

This is still in alpha stage.. but maybe it has others interest?

demo:
http://aeditor.rubyforge.org/graphs.html

code:
http://rubyforge.org/cgi-bin/viewcvs/cgi/viewcvs.cgi/projects/experimental/svg_linechart/?cvsroot=aeditor

···

--
Simon Strandgaard

Hi,
This is still in alpha stage.. but maybe it has others interest?
demo:
http://aeditor.rubyforge.org/graphs.html
code:
http://rubyforge.org/cgi-bin/viewcvs/cgi/viewcvs.cgi/projects/experimental/svg_linechart/?cvsroot=aeditor

It looks great Simon.
Are you planning to incorporate other chart types ?
( pie, gantt, etc. )

Minor suggestion: make shadows optional, they look nice on screen,
sometimes not that good on cheap printers.

best,

--- vruz

Simon Strandgaard wrote:

Hi,

This is still in alpha stage.. but maybe it has others interest?

Any relation or shared code or comparisons with Sean Russell's SVG::Graph?

http://www.rubyxml.com/index.rb/Applications@SVG_Graph_0.3.0.txt

James Britt

Not that it really matters, but graph != chart, they are different
things: http://en.wikipedia.org/wiki/Graph. I've considered using
ruby-svg for generating graphs of PostgreSQL databases, but I think
I'll end up generating Dot files for Graphviz instead.

Best regards,
Aron Stansvik

I am considering making a barchart. I have no plans about pie nor gantt
charts (yet).

shadows.. hmm. SVG can be configured with CSS, I guess I can do something
fancy, so that another styles is used if media==printer.

Opinions about the code are in paticular welcome :slight_smile:

···

On Saturday 16 October 2004 13:52, vruz wrote:

> Hi,
> This is still in alpha stage.. but maybe it has others interest?
> demo:
> http://aeditor.rubyforge.org/graphs.html
> code:
>http://rubyforge.org/cgi-bin/viewcvs/cgi/viewcvs.cgi/projects/experimental
>/svg_linechart/?cvsroot=aeditor

It looks great Simon.
Are you planning to incorporate other chart types ?
( pie, gantt, etc. )

Minor suggestion: make shadows optional, they look nice on screen,
sometimes not that good on cheap printers.

--
Simon Strandgaard

Wow.. there is a bunch of nice charts here.
I wasn't aware of this package.

There is no relation yet, at this moment there is no dependencies on other
packages (except test::unit).

I will think I will take a peek at Sean's source. I can see he has been
able to place the labels in a nice way.

btw: Thanks James for this link.

···

On Sunday 17 October 2004 08:20, James Britt wrote:

Simon Strandgaard wrote:
> This is still in alpha stage.. but maybe it has others interest?

Any relation or shared code or comparisons with Sean Russell's SVG::Graph?

http://www.rubyxml.com/index.rb/Applications@SVG_Graph_0.3.0.txt

--
Simon Strandgaard

[snip]

shadows.. hmm. SVG can be configured with CSS, I guess I can do something
fancy, so that another styles is used if media==printer.

you *may* want to have shadows if you have a good laser printer
you *may* want to disable shadows on screen

Opinions about the code are in paticular welcome :slight_smile:

having a look at it now :slight_smile:

cheers,

···

--
--- vruz