[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ann] svg graph generator, early release

Simon Strandgaard

10/16/2004 10:33:00 AM

Hi,

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


demo:
http://aeditor.rubyforge.org/g...


code:
http://rubyforge.org/cgi-bin/viewcvs/cgi/viewcvs.cgi/projects/experimental/svg_linechart/?cvsro...

--
Simon Strandgaard


7 Answers

vruz

10/16/2004 11:52:00 AM

0

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

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

10/16/2004 12:24:00 PM

0

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/g...
> > code:
> >http://rubyforge.org/cgi-bin/viewcvs/cgi/viewcvs.cgi/projects/ex...
> >/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.

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 :-)

--
Simon Strandgaard


vruz

10/16/2004 12:30:00 PM

0

[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 :-)

having a look at it now :-)

cheers,

--
--- vruz


James Britt

10/17/2004 6:21:00 AM

0

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...



James Britt

www.ruby-doc.org
www.rubyxml.com



Simon Strandgaard

10/17/2004 7:35:00 AM

0

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...

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.

--
Simon Strandgaard


Aron Stansvik

10/18/2004 8:50:00 PM

0

Not that it really matters, but graph != chart, they are different
things: http://en.wikipedia.org/.... 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


rst0wxyz

1/9/2009 7:11:00 PM

0

On Jan 9, 10:55 am, Gods and Monkeys <songha...@mail.com> wrote:
> On Jan 9, 10:30 am, rst0wxyz <rst0w...@yahoo.com> wrote:
>
> > On Jan 9, 10:19 am, Gods and Monkeys <songha...@mail.com> wrote:
>
> > We all die only once.  Living things live until some events that would
> > destroy all.  Plants live on by leaving seeds, other living things
> > live by leaving offsprings, but all living things die.  Once dead, can
> > never come back alive again.
>
> I get it. I stated the above only to aggravate your child-like
> thinking.
>
> Yes, a bird dies and is never reborn. I got the point. It's extremely
> easy to understand. You don't have to repeat this for the 3rd or 4rth
> fime.
>
> - An intelligent man knows what he knows and knows what
> he doesn't know-
>                                                   - Confucious
>
> I have three addendums.
>
> 1. A fool doesn't know what he knows and doesn't know what he doesn't
> know-  (That would be you- rst)
>
> 2. An intelligent man also knows the relative sophistication
> of what he knows, so understands when it bears repeating.
> (This is not you)
>
> 3. A fool can judge the sophistication of his thougts and often
> thinks his simple thoughts are complex and will
> repeat them over and over thinking that the other person hasn't
> understand his EXTREMELY simple point.
> (This is you)

All monkeys, you can't even get that right.

Mohammad once said:

He who know not, who know not that he know not is a fool.

He who know not, who know that he know not is a simple man.

He who know, who know that he know is a wise man, follow him.