similar to: Gruff: Adjustment of font and labels

Displaying 20 results from an estimated 20000 matches similar to: "Gruff: Adjustment of font and labels"

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 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 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
2001 Aug 03
1
Text adjustment outside (0,1)
Funnily enough, it seems that adjustment of text in the verical direction is more flexible than in the horizontal. Horizontal adjustment parameters, seem to be set to the closest of 0 and 1 if they fall outside (0,1). Try e.g.: plot(0:1,0:1) for (a in seq(-5,5,0.5) ) text(0.5, 0.5, "Y", adj=c(0,a), cex=2, col="red" ) for (a in seq(-5,5,0.5) ) text(0.5, 0.5, "X",
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 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 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
2009 Dec 24
2
Showing graphs on browser with gruff lib.
Hi, I am using "gruff" lib for creating the graphs. I have got the success to create the graph, but my problem is I don''t want to store it, I want that they should be displyed on the browser it self. I have tried this:- " send_data(g.to_blob, :disposition => ''inline'', :type => ''image/png'', :filename =>
2006 Jul 12
0
Multiple Gruff graphs on one page
Currently I have about 10 different graphs and each one of them have to be clicked in order to view. I want to display 3 graphs on same time one below another. Any ideas on how to do that? Thanks in advance. -- 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/. --~--~---------~--~----~------------~-------~--~----~
2010 Feb 22
2
adding infrequent date labels to x-axis
I'm sure there is a clever way to do the following, but I've been unable to find it on this forum or by writing my own functions. I have 8 years worth of weekly data but would like to restrict the labels on the x-axis to months only. I've included the first year's worth of data below. My line of thought has been along these lines
2006 Jun 27
0
Gruff datasets
Hi All, I''m desperatly needing help for the gruff graphs. The problem is when I google for help everytime I come across the same few pages which are good but I''m not that expierenced to understand that I guess. I''m fetching data from database. It''s about 3000 rows. The examples I''m finding have static values like: @datasets = [ [:large,
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
2017 Sep 22
0
Lattice stacked barplot vertical bars
Hi Luigi will this do barchart( D ~ A|E, DF, groups = C, stack = TRUE, horizontal = F, main = "Comparison of test results", xlab = "Count", col = c("yellow", "orange"), par.settings = list( strip.background = list(col="light grey"), superpose.polygon=list(col= c("yellow",
2009 May 18
1
Barchart in lattice - wrong order of groups, data labels on top of each other, and a legend question
Hello! I have a question about my lattice barchart that I am trying to build in Section 3 below. I can't figure out a couple of things: 1. When I look at the dataframe "test" that I am trying to plot, it looks right to me (the group "Total" is always the first out of 5). However, in the chart it is the last. Why? 2. How can I make sure the value labels (on y) are not
2007 Oct 09
2
lattice/xyplot: horizontal y-axis labels with scales(relation="free")
I would like to create an xyplot with varying y-axis limits and horizontal labels at the y-axis tickmarks. The following does not seem to work, although I think it should, going by the documentation for par. R version 2.5.1, Windows XP Prof. Thanks for a clue. Andreas Krause library(lattice) # axis labels for y-axis are horizontal xyplot(Sepal.Length ~ Sepal.Width | Species, data=iris) #
2003 Aug 21
3
Diamond graphs
I apologise for starting a new thread, but we had a mail problem and I don't have the original message to refer to. Someone mentioned the new "Diamond Graphs" invented at Johns Hopkins. I haven't see the August 2003 issue of The American Statistician yet, but I _have_ read the press release. The press release is a bit of a stunner. I quote: "Who would have thought we
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 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 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