search for: maximum_valu

Displaying 3 results from an estimated 3 matches for "maximum_valu".

Did you mean: maximum_value
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 Jul 05
1
Need some Gruff graphing help - custom dimensions?
...w(500) #Sets scale to 500px, but I''d like 500 width and 300 height g.title = "Samplegraph" g.labels = {1 => "Today", 3 => "Yesterday", 6 => "The Day Before"} g.theme_37signals g.data("Graph", data, ''#378CDF'') g.maximum_value = 10 send_data(g.to_blob, :disposition => ''inline'', :type => ''image/png'', :filename => "sample_graph.png -- Posted via http://www.ruby-forum.com/.
2006 Jan 11
0
Limit attributes written out by to_yaml
...39;item.yaml'', ''w'' ) do |out| YAML.dump( item, out ) end This dumps out all the field names and values which are stored in the attributes hash. The output looks something like this: - !ruby/object:Item attributes: image_height: '''' maximum_value: '''' minimum_value: '''' item_id: 153 default_value: '''' ... many more fields However I don''t want all these fields. How can I limit the YAML output to just include the fields that I want? I know that I can over...