Re: [Haskell-cafe] library for drawing charts

2008-05-25 Thread Tim Docker

Peter wrote:
 Has anyone got some code for drawing charts? I don't mean
 graphs of functions, ala

 http://dockerz.net/twd/HaskellCharts
 ...
 I would like something that can generate PNGs in memory, i.e. not
 directly to a file.

The library at the above URL supports a range of backends through the
(nice to use) cairo graphics API. In memory images are supported. Also,
it's by no means just graphs of functions - that just happens to be
several of the demos.

 I'd like 2D pie charts, bar charts and something like a google-o-meter.

An the moment it does line charts and a few variants of these. I'll add
pie and bar charts when I need them - patches in the meantime gratefully
accepted.

Tim

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] library for drawing charts

2008-05-24 Thread Peter Gammie

Hello,

Has anyone got some code for drawing charts?

I don't mean graphs of functions, ala

http://dockerz.net/twd/HaskellCharts

and I don't mean calls to the Google Charts API ala

http://community.livejournal.com/evan_tech/241080.html

I would like something that can generate PNGs in memory, i.e. not  
directly to a file.


This is close to what I have in mind:

http://www.fred.net/brv/chart/

I'd like 2D pie charts, bar charts and something like a google-o-meter.

Any pointers?

cheers
peter
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] library for drawing charts

2008-05-24 Thread Olivier Boudry
On Sat, May 24, 2008 at 5:33 AM, Peter Gammie [EMAIL PROTECTED] wrote:

 Hello,

 Has anyone got some code for drawing charts?


Look at this:
http://byorgey.wordpress.com/2008/04/30/new-haskell-diagrams-library/

I'm not sure it's what you're looking for but it could probably be used as a
base for drawing charts.

Brent Yorgey announced version 0.1 on the list a few weeks ago.

Regards,

Olivier.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe