Displaying 20 results from an estimated 6000 matches similar to: "Gruff Stacked Bar order of data"
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/.
2007 Mar 27
4
Gruff with PDF::Writer
Hello all
Has anyone managed to embed gruff graphs into a PDF document using
pdf::writer?
The easy way (as far as I can see) would be to just save the gruff graph
as a temporary file then read that file in pdf::writer. I was wondering
if anyone had managed to get them working together directly?
RJ
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
2013 Mar 25
2
Faster way of summing values up based on expand.grid
Hello!
# I have 3 vectors of values:
values1<-rnorm(10)
values2<-rnorm(10)
values3<-rnorm(10)
# In real life, all 3 vectors have a length of 25
# I create all possible combinations of 4 based on 10 elements:
mycombos<-expand.grid(1:10,1:10,1:10,1:10)
dim(mycombos)
# Removing rows that contain pairs of identical values in any 2 of
these columns:
mycombos<-mycombos[!(mycombos$Var1
2010 Nov 09
2
help cannot put multiple chart Stacked Bar (from PerformanceAnalysis library) in a single plot
Hi
I'm having problems displaying multiple chart.StackedBar from
PerformanceAnalysis library on a single plot. I've tried using
par(mfrow=c(2,1)) but that doesn't work.
If I do it with barplot(), it works fine and I see both plots on a single plot.
> plot(mfrow=c(2,1))
> barplot(blahblah)
> barplot(blahblah)
However if I try to use chart.StackedBar, the second entry
2010 Dec 18
3
dotchart for matrix data
Readers,
I am trying to use the function dotchart. The data is:
> testdot
category values1 values2 values3 values4
1 a 10 27 56 709
2 b 4 46 47 208
3 c 5 17 18 109
4 d 6 50 49 308
The following error occurs
> dotchart(testdot,groups=testdot[,2])
Error in dotchart(testdot, labels =
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''
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
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
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
2024 Aug 16
1
allequal diff
? Fri, 16 Aug 2024 10:35:35 +0200
<sibylle.stoeckli at gmx.ch> ?????:
> what do you mean by use is.na() in getValues(). So I need to call
> getValues a second time?
Not necessarily, but it's one of the options. I was thinking along the
lines of:
values1 <- getValues(r1)
mask1 <- is.na(values1)
# Do the same for r2
# Combine the masks
all.equal(values1[!combined_mask],
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 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
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 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 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 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 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 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
2006 Jul 10
6
Gruff: Display label vertical
Hi,
I have stacked Bar graph which has about 20-30 items. I have to name
each of these items. But there names/labels are overlapping. Is there
any option to make the labels display vertical instead of horizontal?
Any other ideas how can I aviod this overlapping?
Please suggest.
Thanks
--
Posted via http://www.ruby-forum.com/.
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 = []