<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>OnRails.org: Graphs with Gruff (followup)</title>
    <link>http://onrails.org/articles/2006/04/14/graphs-with-gruff-followup</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Ruby On Rails and related matters.</description>
    <item>
      <title>Graphs with Gruff (followup)</title>
      <description>&lt;p&gt;&lt;a href="http://onrails.org/articles/2006/02/20/graphs-with-gruff#comments"&gt;The solution from the source&lt;/a&gt; ;-) I checked it out and it now works as advertised, just add   g.minimum_value = 0 to the Gruff::Bar before rendering it (g.to_blob).&lt;/p&gt;


	&lt;p&gt;Note that axis starting at zero.&lt;/p&gt;


	&lt;table&gt;
		&lt;tr&gt;
			&lt;td&gt; Without the minimum_value &lt;/td&gt;
			&lt;td&gt; With the minimum_value set to zero &lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;
			&lt;td&gt; &lt;img src="/files/20060414_gruff_before_sm.gif" alt="" /&gt; &lt;/td&gt;
			&lt;td&gt; &lt;img src="/files/20060414_gruff_after_sm.gif" alt="" /&gt; &lt;/td&gt;
		&lt;/tr&gt;
	&lt;/table&gt;</description>
      <pubDate>Fri, 14 Apr 2006 06:49:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:355dbfd9-cfc7-47ac-981a-83d2295ce956</guid>
      <author>Daniel Wanja</author>
      <link>http://onrails.org/articles/2006/04/14/graphs-with-gruff-followup</link>
      <category>Ruby On Rails</category>
      <category>Gruff</category>
      <category>Graph</category>
    </item>
  </channel>
</rss>
