How difficult would it be to put together a ruby implementation of this php tool? http://www.maani.us/charts/ -- Ben Jackson Diretor de Desenvolvimento INCOMUM Design & Conceito +55 (21) 9997-0593 ben-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org http://www.incomumdesign.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 In another php project, I was starting to look heavily at the PEAR Image_Graph library. It seemed pretty intuitive. I think it may have some elements that would be good in a ruby version - -- David Morton Maia Mailguard server side anti-spam/anti-virus solution: http://www.maiamailguard.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCXIQSSIxC85HZHLMRAjKdAJ0XjXMXo4miaKau5Os5V2fsa8HtFQCfWTTJ uoSALUIS8cDEYcUo/NXpKCI=m5FA -----END PGP SIGNATURE-----
I''d suggest you take a look at RGPlot -- a frontend for GNUPlot. http://rgplot.rubyforge.org/ http://gnuplot.sourceforge.net/ -- Greetings! ICICI Infotech is now 3i Infotech. The e-mail addresses of the company''s employees have been changed to <existing name>@3i-infotech.com. You are requested to take note of this new e-mail ID and make use of the same in future "This e-mail message may contain confidential, proprietary or legally privileged information. It should not be used by anyone who is not the original intended recipient. If you have erroneously received this message, please delete it immediately and notify the sender. The recipient acknowledges that 3i Infotech or its subsidiaries and associated companies, (collectively "3i Infotech"), are unable to exercise control or ensure or guarantee the integrity of/over the contents of the information contained in e-mail transmissions and further acknowledges that any views expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of 3i Infotech. Before opening any attachments please check them for viruses and defects." _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Woah, now this would be what i''m looking for. The only thing missing is a very clean-and-simple ruby implementation ;) Flurin Ben Jackson wrote:> How difficult would it be to put together a ruby implementation of > this php tool? > > http://www.maani.us/charts/ >
Ben Jackson wrote:> How difficult would it be to put together a ruby implementation of > this php tool? > > http://www.maani.us/charts/ >Looking at the code I''d say 15 minutes for a developer familiar with Ruby provided we can use charts.swf file. These charts look great, anyone willing to convert 2 PHP functions into Ruby ? :) http://www.maani.us/charts/Reduced.tgz -- Best Karol Hosiawa
Implementing these functions with XMLBuilder would really be simple (and clean!!). Even more beautifull would be to wrap the whole thing in a class. I''m not sure about the licensing (of the swf file) though, did you find anything on their website? Regards, Flurin Karol Hosiawa wrote:> Ben Jackson wrote: > >> How difficult would it be to put together a ruby implementation of >> this php tool? >> >> http://www.maani.us/charts/ >> > Looking at the code I''d say 15 minutes for a developer familiar with > Ruby provided > we can use charts.swf file. > These charts look great, anyone willing to convert 2 PHP functions > into Ruby ? :) > > http://www.maani.us/charts/Reduced.tgz > > -- > Best > Karol Hosiawa > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails
I''ve read the license, but it''s some kind of propietary license (some kind of shareware). I guess if you''d buy it you''d be free to generate the XML with any language you want. Although I screamed that this was "great" in the beginning, I''m doubting now that Flash is a good solution for graphing like this. I''d prefer a .jpg/.gif/.png output. Flurin Karol Hosiawa wrote:> Ben Jackson wrote: > >> How difficult would it be to put together a ruby implementation of >> this php tool? >> >> http://www.maani.us/charts/ >> > Looking at the code I''d say 15 minutes for a developer familiar with > Ruby provided > we can use charts.swf file. > These charts look great, anyone willing to convert 2 PHP functions > into Ruby ? :) > > http://www.maani.us/charts/Reduced.tgz > > -- > Best > Karol Hosiawa > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails
Flurin Egger wrote:> I''ve read the license, but it''s some kind of propietary license (some > kind of shareware). I guess if you''d buy it you''d be free to generate > the XML with any language you want. > > Although I screamed that this was "great" in the beginning, I''m > doubting now that Flash is a good solution for graphing like this. I''d > prefer a .jpg/.gif/.png output. > > FlurinLicense: Clicking a chart takes the user to the PHP/SWF Charts web site unless you buy it. I personally like the Flash charts, hovering over it displays current value, it''s neat :) I think currently we can assume 99% of users have flash installed so it''s safe to use it. Flash has one more advantage: it is cached so let''s assume you display 20 flash charts on your site. charts.swf is downloaded only once and then generates different charts based on the XML input. Server does not generate gifs/pngs. Imagine you create your own flash movie that has an option to zoom in /zoom out the chart :-) and get more details if they''re interested. BTW. I also liked the PHP/XML/Slideshows - looks great, we are now working on a Hotel Reservation System It''d be great to use these slideshows in hotel details, aaahhhhh, heaven !!! :-D PS. I think there is Ming library for Ruby, the possibilities are endless :) http://ming.sourceforge.net/ -- Best Karol Hosiawa
http://www.maani.us/charts/index.php?menu=License Says nothing about the SWF file... however I imagine the developers might be interested in a new (and exploading) development community like RoR. I''d say shoot them an email and see what they think.>Implementing these functions with XMLBuilder would really be simple (and >clean!!). Even more beautifull would be to wrap the whole thing in a >class. I''m not sure about the licensing (of the swf file) though, did >you find anything on their website? > >-- Ben Jackson Diretor de Desenvolvimento INCOMUM Design & Conceito +55 (21) 9997-0593 ben-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org http://www.incomumdesign.com