similar to: A little charting example with Gruff

Displaying 20 results from an estimated 6000 matches similar to: "A little charting example with Gruff"

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 Apr 20
1
Gruff Charting Question
I am using Gruff to chart 2 sets of data and have run into a problem, the numbers between the two sets are so far apart that the first set appears as a mostly straight line at the top and the second a mostly straight line at the bottom. Is there a way to set the min/max vertical column values so that I can squeeze the data closer together so that there is more ''movement''? If
2008 Sep 25
1
Spider Charts and Gruff: THE JOY OF GRAPHING
I hope this day finds you well. I need to generate Spider charts (aka radar charts) , and am using Gruff to do so. How can I show lines and axis numbers on a Spider chart? Here''s what I''m trying to make: http://img.skitch.com/20080925-m573hhdy4n4x6i92s17knjqjeg.jpg How can I have those 0 - 100 numbers, and the concentric cirles in the graph? Joe -- Posted via
2008 Oct 02
0
Gruff bar charts and zero data
Hi - I am creating bar and stacked bar charts in Gruff, but the problem I am having is that zero data is showing up as a thin bar. (It also seems to be that way in examples I have seen online where a zero value still shows as a thin bar or slice) It''s not a major issue to see a thin sliver on a plain bar chart, but on my stacked bar chart if I have more than one zero value in a
2007 Oct 16
0
Gruff
Hello, I used gruff library to display some of bar charts. It works fine but Gruff API documentation does not explain much like java api. So if I wanted to try some features like spacing between two bars, 3-D graph. It may be features available in Gruff library, but it is not well documented, I guess. Helpful resources would be appreciated. Thank You. Dakshesh
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/.
2006 Oct 22
0
Gruff - using customized scale
Hi I searched through the forum for the answer but couldn''t find any pointers. I have created an application using the gruff graphs. The problem is that these charts automatically calculates the y-axis scale. The requirement is to be in multiple of 100''s but internally it by default calculates something else which is not very convenient to read. Can someone please post some
2007 Feb 28
1
hi guys problem with running gruff
Hi guys i am pretty much a newbie to rails and tried to install gruff and run the example given in home page for gruff i am using ubuntu and dapper. first i got two errors when i used this example #!/usr/bin/ruby require ''rubygems'' require ''gruff'' g = Gruff::Line.new g.title = "My Graph" g.data("Apples", [1, 2, 3, 4, 4, 3])
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''
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
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 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)
2006 Apr 14
0
Gruff on Windows
Has anyone achieved a stable deployment of Gruff with Rmagick on Windows? I''ve been playing around with this on Instant Rails and after installing the RMagick win 32 gem (local gem install as per instructions on web) and then Gruff on top of that. I did a test controller method that rendered the fruit pie chart as per the examples on the gruff site. This worked. However, when I refreshed
2006 Aug 13
0
Legend wrapping for Gruff
Hi all, I''ve been playing around with Gruff, love the pie chart functionality! I''m having one problem though with lots of items in the legend. It seems Gruff doesn''t handle wrapping of the legend? I couldn''t find it any of the documentation and was wondering how other people have handled this? There was a similar question posted on the Gruff Project
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 Jul 05
1
Need some Gruff graphing help - custom dimensions?
I''ve been working with Gruff to do all my apps graphing and such etc. I love it but I''m just having a hard time customizing the graphs, but this is perhaps due to my inability to comprehend the online RDocs. What I want to do is adjust the width / heights of my graphs or at the VERY LEAST the heights. It seems that if you scale a graph anywhere below 400-450px it is pretty
2006 May 25
2
Have a quick Gruff Graphing question
I have some graphs and everything is working great, but I''d like to set a minimum height so to speak on the vertical scale. Is there a method to do that with Gruff? I''ve tried looking through the docs but can''t seem to get it to work. So for example, if the highest datapoint in my graph was say 500, is it possible to have the minimum vertical scale on the left set
2006 Apr 22
1
Gruff
I have installed Gruff and am trying to get an example to work i found at http://tomcopeland.blogs.com/juniordeveloper/2006/02/charts_and_grap.html. I have the following code in the controller: # Send a graph to the browser def crumpetchartaction days = 5 g = Gruff::Line.new(500) g.title = "Crumpets over the past #{days} days" g.theme_keynote crumpets_to_date = []
2006 Jun 05
1
Strange problem with Gruff not always displaying graph
Hello, I am having a strange problem with Gruff not always displaying the graph on the page. On some pages, the graph is displayed fine. On others, however, I just get the number relating to the id of the requested item - in my case, report. Does anyone know how to solve this problem? I have the following in my controller: def create_graph g = Gruff::Line.new(290) g.title =
2005 Dec 17
0
Does Gruff support negative data?
Gruff''s default theme is eye-catching, however, I haven''t found a way to let it present negative data correctly(as seen in the attached). Gruff''s document is also a bit old (v0.4 vs current v0.7). Anyone knows how to solve it? or any other recommendations? Thanks, Sky _______________________________________________ Rails mailing list