<br><br><div class="gmail_quote">On Tue, Jan 17, 2012 at 4:19 PM, dokondr <span dir="ltr">&lt;<a href="mailto:dokondr@gmail.com">dokondr@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>I hope to use Haskell for graphics (charts) programming in Web client. <br><br>My current implementation in brief: <br>Server side, Haskell modules: <br>1) collecting various statistics from Twitter <br>2) generating text data for Gnuplot (<a href="http://www.gnuplot.info/" target="_blank">http://www.gnuplot.info/</a>) <br>

3) Gnuplot creates png files with charts<br> <br>Web client: <br>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.<br>

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

Looking at &quot;Haskell in web browser - HaskellWiki:&quot;<br><a href="http://www.haskell.org/haskellwiki/Haskell_in_web_browser#Haskell_web_toolkit" target="_blank">http://www.haskell.org/haskellwiki/Haskell_in_web_browser#Haskell_web_toolkit</a><br>

I feel a little confused about current state of the available Haskell tools for this task.<br>Any ideas?<br><br></blockquote><div>Hi Dimitri,<br>Perhaps HTML5&#39;s canvas element would meet your requirement. There a few JS chart implementation for HTML5 floating on the internet. <br>
Regards,<br>Kashap <br></div></div>