
Hi all, I hope to use Haskell for graphics (charts) programming in Web client. My current implementation in brief: Server side, Haskell modules: 1) collecting various statistics from Twitter 2) generating text data for Gnuplot (http://www.gnuplot.info/) 3) Gnuplot creates png files with charts Web client: GWT (Google Web Toolkit) web UI that allows user to enter queries and see resulting charts in Web browser. Charts are png files generated by Gnuplot on the server side. Ideally, on the server side instead of using Gnuplot I would like Haskell to generate Javascript to be downloaded to Web client and draw charts in the browser. Something, very approximately, similar to what GWT does :) This code will be specific of course to plotting Javascript framework, no problem. Looking at "Haskell in web browser - HaskellWiki:" http://www.haskell.org/haskellwiki/Haskell_in_web_browser#Haskell_web_toolki... I feel a little confused about current state of the available Haskell tools for this task. Any ideas? Thanks! Dmitri

On Tue, Jan 17, 2012 at 4:19 PM, dokondr
Hi all, I hope to use Haskell for graphics (charts) programming in Web client.
My current implementation in brief: Server side, Haskell modules: 1) collecting various statistics from Twitter 2) generating text data for Gnuplot (http://www.gnuplot.info/) 3) Gnuplot creates png files with charts
Web client: GWT (Google Web Toolkit) web UI that allows user to enter queries and see resulting charts in Web browser. Charts are png files generated by Gnuplot on the server side.
Ideally, on the server side instead of using Gnuplot I would like Haskell to generate Javascript to be downloaded to Web client and draw charts in the browser. Something, very approximately, similar to what GWT does :) This code will be specific of course to plotting Javascript framework, no problem. Looking at "Haskell in web browser - HaskellWiki:"
http://www.haskell.org/haskellwiki/Haskell_in_web_browser#Haskell_web_toolki... I feel a little confused about current state of the available Haskell tools for this task. Any ideas?
Hi Dimitri, Perhaps HTML5's canvas element would meet your requirement. There a few JS chart implementation for HTML5 floating on the internet. Regards, Kashap

On Tue, Jan 17, 2012 at 3:07 AM, C K Kashyap
Perhaps HTML5's canvas element would meet your requirement. There a few JS chart implementation for HTML5 floating on the internet.
The Google Charting API *might* be sufficient: http://code.google.com/apis/chart/ --Rogan
Regards, Kashap
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (3)
-
C K Kashyap
-
dokondr
-
Rogan Creswick