similar to: create pie chart

Displaying 20 results from an estimated 900 matches similar to: "create pie chart"

2006 Aug 03
8
beginning a statistics application
Hi all, I need to write an application that gets data from a database and plots it on a graph. I am familiar with java and know that I could do it with jfreechart - however I am excited by RoR and would like to write the application with RoR instead. Is it possible to write it in RoR? Chris -- Posted via http://www.ruby-forum.com/.
2008 Jan 14
4
PIE CHART
i have a rails applications which can record various tasks and times used to do those tasks within each day in a week, now i want it to have the abbility of displaying the percentage of time spent in each task in a pie chart. can someone please show me the neccesary formatting of data and other steps required for this to be done using
2007 Sep 04
2
Pie chart eith Gruff
Does anybody know how to create a pie chart in Gruff without percentage but actual numbers? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To
2006 Jun 24
2
error log for views?
This may be a bonehead question, but when I have some error in a view I''m testing, the server spits out a generic page: "Application error Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html" This is pretty unhelpful when I''m debugging. Is there an error log for Rails overall
2006 Jun 06
1
Getting result from sql and displaying it on Gruff pie chart
I have the following as my sql query: @total = @report.report_items.find_by_sql "SELECT SUM(amount) FROM report_items WHERE report_item_selected = ''y'' AND available = ''n'' AND user_id = 1" I am trying to add the value of SUM(amount) to a Gruff pie chart and it does not seem to be working. I have the following: g.data("Items", @total)
2007 Apr 09
6
gruff send_data
Hi, for those with experience of Gruff module: suppose I want to send image from server straight to the browser (as example on gruff web site): send_data(g.to_blob, :disposition => ''inline'', :type => ''image/png'', :filename => "gruff.png") the server seems sending this binary data ok, but I am having
2006 Feb 23
11
Can''t use Gruff with Rails
Hello list, I''m having a problem getting Gruff working with Rails on a Windows XP box. I installed RMagick, then Gruff via the win32 gem, and it seemed to go OK. From irb, I can do the following - require ''rubygems'' ##### This returns ''false'', but seems to work OK - require ''gruff'' ####### Ditto - g = Gruff::Bar.new etc., and I get
2006 Jul 22
2
Gruff Graphs
Well, I''m trying to generate graphs using gruff, but I''m having problemns. I use, require_gem ''gruff'' then when I run g = Gruff::Line.new(475) I get uninitialized constant Gruff ///// c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:100:in `const_missing''
2006 Apr 30
6
Help, Gruff is killing me
Hi all, I hope somebody can help me out here, since the issue has been killing me for the last three days. Here is the issue: It seems that gruff kills rails/webrick whenever it''s used on win32. I installed gruff per instructions and it seems to be working. The sample controller generates a nice grpah with send_data and all. The issue started once I try to use any other
2006 Jul 08
1
conditional table association?
I''m using a db to log two types of events, link events and tag events. At first I had two tables, link_events & tag_events, but this seemed not very DRY because the only column that was different between them was link_id and tag_id respectively. So I made these tables: events: id int user_id int objtype_id int (holds ''1'' or ''2'' depending
2006 Jan 20
2
Gruff image
Hi I want astackedBar graph in my project I want to give it negetive axis, scale, negetive values etc . How can I do that with gruff package? Thanks.. Sainaba -- Posted via http://www.ruby-forum.com/.
2006 Aug 09
2
Gruff gives font-related error
Hello Railslist, I''m trying to get Gruff running on OSX Tiger (intel) with edge Rails. I''ve installed ImageMagick, Rmagick, FreeType and all their dependencies, or so I believe. (I''ve compiled them from source mostly, following a recent tutorial for Rails and ImageMagick on Intel Macs) While following the sample on the Gruff downloadpage (the one with the fruit), Rails
2006 Jan 18
5
Ruby and charting
Hi- I need to create simple charts on the fly - I had used JFreeChart in the past with inJ2EE apps. Is there any equivalent here for Ruby. My charting needs are simple: just line charts. Also if anyone has done this, pls let me know how I should go about in doing it. Thanks -- Posted via http://www.ruby-forum.com/.
2007 Aug 22
3
Newbie Question: Using R with PHP and MySQL
First, I should admit that I didn't do a lot of searching beforehand, I'm just cutting to the chase to ask the experts: I'm currently running MySQL 5 queries with PHP 5.2.3 and returning results to the end-user in web-page tables of ca. 50 rows by 5 columns. I'd like to (more or less) simultaneously return to the browser a couple of "canned" charts and graphs based on
2006 Apr 27
4
GD2 to Make Charts
I''m just getting started with GD2 and have successfully made a few dynamic PNGs. I need to make some fairly detailed line graphs on the fly and I know that GD2 is capable of what I want but I strongly suspect I''m reinventing the wheel badly. Are there gems or other projects that help creating complex charts? I''ve used GDChart in the distant past but I
2008 Sep 16
8
rspec, Rails 2.1.0, rubygems, Mac OS X Leopard - rubygems does not recognize latest version
I''m trying to run some specs on my Mac OS/Leopard machine (10.5.5) but rubygems won''t allow it: $ spec spec/models/my_spec.rb Rails requires RubyGems >= 0.9.4 (you have 0.9.3). Please `gem update --system` and try again. ...but I already have the latest & greatest installed: $ gem search --local rubygem *** LOCAL GEMS *** rubygems-update (1.2.0, 0.9.5) Tue Sep 16
2006 Jul 21
5
Reports in Rails
Hi, In my rails application I want to include a reporting mechanism that will allow the users of application to view statistics of various operations graphically. Does rails provide inbuilt reporting capabilities? what are different appraoches I can follow to achieve reporting in rails? On googling I found following as some of the options, 1.Gruff Graphs for Ruby 2.SVG 3. using Apache FOP.
2007 Jan 04
4
RMagick problems
I read the 13th recipe in the book "Rails Recipes" from Chad Fowler. I install with gem the gruff-library (gem install gruff). After the installation, I download the "rmagick-win32-1.13.0_IM-6.2.9-3.zip" file and install it on my win32-machine. It was successfully! So, I create a controller with script/generate. In a method, which I wrote after the creation, I''ll make
2006 Jul 06
3
Stacked Area graph?
Hi, How do I make stacked area graph? For stacked bar graph gruff has seperate class "StackedBar" but I could not find anything as "StackedArea"? Is there any other way? Please let know. Thanks -- Posted via http://www.ruby-forum.com/.
2006 Jan 02
5
How can one use GRUFF with locomotive ( I guess there is a wider question here, also)
Hi: I love Locomotive and use it exclusively for my rails projects. I''d like to install GRUFF and give it a try (a graph image creation package). I know I can do sudo gem install gruff from the command line for normal ruby and rails. How do I make gems available to Locomotive? bruce