Mark,

Thanks for doing this, I haven't had a chance to look at it yet but its been
on the wish list for a while.

Cheers

Tom

2009/1/20 Mark Fredrickson <mark.m.fredrick...@gmail.com>

>
> Hello friends,
>
> I would like to announce a super-pre-alpha release of Dejcartes, a
> Clojure wrapper around the JFreeChart charting library. From the readme:
>
> Dejcartes is a Clojure interface to the JFreeChart charting and graphing
> library. A simple interface to be sure, but practical for graphing
> many data
> sources. Dejcartes is mostly a wrapper around the ChartFactory static
> methods.
> This interface suits Clojure's functional paradigm very well.
>
> Chart supports using native Clojure collections for data sources. This
> makes
> graphing from Clojure applications very intuitive. Lists, vectors, and
> hash-maps are translated into JFreeChart's native data types behind
> the scenes
> as needed. A demo showing many of the supported functions and Clojure
> native data
> structures is included and can be run from the command line with "ant
> demo". Here
> is a brief excerpt:
>
>     (require '[com.markmfredrickson.dejcartes :as chart])
>
>     ;; a simple function for making windows -- wrapper coming soon
>     (import '(org.jfree.chart chartframe))
>     (defn make-window [title chart]
>       (doto (new chartframe title chart)
>         (.pack)
>         (.setvisible true)))
>
>     ; first, some categorical data
>     (def editor-survey
>       {2009
>         {"emacs" 312 "vim" 234 "eclipse" 193 "netbeans" 82 "other" 26}
>        2008
>         {"vim" 192 "emacs" 267 "eclipse" 297 "other" 75}})
>
>     ;; a pie chart of the 2009 data
>     (make-window "Editor Survey"
>       (chart/pie "2009 Results" (editor-survey 2009)))
>
> Dejcartes is a young project and is lacking in comprehensive
> documentation. The
> best reference right now is the demo.clj example code and the
> JFreeChart API
> documentation. Future improvements will include more documentation, an
> Agent
> based interface for interacting with chart windows, and a persistent
> (read:
> non-mutating) interface for annotations and other more powerful chart
> features.
>
> Dejcartes is licensed under the GNU Lesser GPL, which is consistent with
> JFreeChart's license.
>
> The code can be found at: http://www.markmfredrickson.com/code/
>
> Best wishes,
> - Mark Fredrickson
> mark.m.fredrick...@gmail.com
> http://www.markmfredrickson.com
>
>
>
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to