<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -30,8 +30,8 @@ module GChart
     def initialize(options={}, &amp;block)
       @data = []
       @extras = {}
-      @width = 300
-      @height = 200
+      @width  ||= 300
+      @height ||= 200
   
       options.each { |k, v| send(&quot;#{k}=&quot;, v) }
       yield(self) if block_given?</diff>
      <filename>lib/gchart/base.rb</filename>
    </modified>
    <modified>
      <diff>@@ -6,7 +6,6 @@ module GChart
     attr_accessor :background
     
     def initialize(*args, &amp;block)
-      super(*args, &amp;block)
       # Set some sane defaults so that the only requirement is data
       @area = 'world' #default
       @background = 'dfdfff' #make it look like water
@@ -15,6 +14,7 @@ module GChart
       # it is also the proper aspect ratio)
       @width = '440'
       @height = '220'
+      super(*args, &amp;block)
     end
     
     # Map data can be in the form {&quot;VA'=&gt;5,'NY'=&gt;1} or [['VA',5],['NY',1]]</diff>
      <filename>lib/gchart/map.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,9 +4,9 @@ module GChart
     # axis lines. Because they are often placed within text, the default
     # size should be smaller.
     def initialize(*args, &amp;block)
-      super(*args, &amp;block)
       @width = &quot;60&quot;
       @height = &quot;20&quot;
+      super(*args, &amp;block)
     end
     def render_chart_type #:nodoc:
       &quot;ls&quot;</diff>
      <filename>lib/gchart/sparkline.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>97119e24de8e49976f8b0de898ca645d1f2edfb9</id>
    </parent>
  </parents>
  <author>
    <name>Jack Danger Canty</name>
    <email>git@6brand.com</email>
  </author>
  <url>http://github.com/JackDanger/gchart/commit/1cbe844a2a0b4bceb2a47b7556343343492f962c</url>
  <id>1cbe844a2a0b4bceb2a47b7556343343492f962c</id>
  <committed-date>2008-06-13T10:37:09-07:00</committed-date>
  <authored-date>2008-06-13T10:37:09-07:00</authored-date>
  <message>making default width and height only defaults - not permanent

The default width and height for sparkline and map was set after
super was called and therefore could not be overridden.</message>
  <tree>d49f5afccafa8fcc1af9248eac5ef2a4108f68a7</tree>
  <committer>
    <name>Jack Danger Canty</name>
    <email>git@6brand.com</email>
  </committer>
</commit>
