<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -4,8 +4,9 @@ module GoogleChart
   module Axis
     AXIS_TYPE_MAPPING = { :top =&gt; &quot;t&quot;, :bottom =&gt; &quot;x&quot;, :left =&gt; &quot;y&quot;, :right =&gt; &quot;r&quot; }
     ALIGNMENT_MAPPING = { :center =&gt; 0, :left =&gt; -1, :right =&gt; -1}
+    DRAWING_CONTROL_MAPPING = { :lines =&gt; 'l', :ticks =&gt; 't', :both =&gt; 'lt'}
 
-    Axis = Struct.new(&quot;Axis&quot;, :type, :labels, :positions, :range, :color, :font_size, :alignment, :interval)
+    Axis = Struct.new(&quot;Axis&quot;, :type, :labels, :positions, :range, :color, :font_size, :alignment, :interval, :drawing_control)
 
     def axis(type, options={})
       @axes ||= []
@@ -30,7 +31,7 @@ module GoogleChart
                     &quot;#{@axes.index(axis)},#{axis.range.min},#{axis.range.max}#{interval_str}&quot; if axis.range
                    end.compact
       styles     = @axes.collect do |axis|
-                     style = [axis.color,axis.font_size, ALIGNMENT_MAPPING[axis.alignment]].compact
+                     style = [axis.color,axis.font_size, ALIGNMENT_MAPPING[axis.alignment],DRAWING_CONTROL_MAPPING[axis.drawing_control]].compact
                      unless style.empty?
                        &quot;#{@axes.index(axis)},#{style.join(',')}&quot;
                      end
@@ -52,6 +53,7 @@ module GoogleChart
       raise ArgumentError.new(&quot;font_size cannot be specified without a color&quot;) if (axis.font_size &amp;&amp; axis.color == nil)
       raise ArgumentError.new(&quot;alignment cannot be specified without a color&quot;) if (axis.alignment &amp;&amp; (axis.color == nil or axis.font_size == nil))
       raise ArgumentError.new(&quot;alignment must be one of :left, :center, :right&quot;) unless (axis.alignment ==nil or ALIGNMENT_MAPPING.keys.include?(axis.alignment))
+      raise ArgumentError.new(&quot;drawing_control must be one of :lines, :ticks: or :both&quot;) unless (axis.drawing_control == nil or DRAWING_CONTROL_MAPPING.keys.include?(axis.drawing_control))
 
       unless (axis.labels.to_a.size == axis.positions.to_a.size)
         raise ArgumentError.new(&quot;sizes of labels and positions must be the same&quot;) unless axis.labels == nil or axis.positions == nil</diff>
      <filename>lib/google_chart/modules/axis.rb</filename>
    </modified>
    <modified>
      <diff>@@ -33,9 +33,10 @@ describe GoogleChart::Axis do
       axis.range     = 0..500
       axis.labels    = [&quot;a&quot;,&quot;b&quot;,&quot;c&quot;]
       axis.positions = [100,200,400]
+      axis.drawing_control = :lines
     end
     @chart.query_params[:chxt].should eql(&quot;t&quot;)
-    @chart.query_params[:chxs].should eql(&quot;0,ff00ff,15,0&quot;)
+    @chart.query_params[:chxs].should eql(&quot;0,ff00ff,15,0,l&quot;)
     @chart.query_params[:chxl].should eql(&quot;0:|a|b|c&quot;)
     @chart.query_params[:chxp].should eql(&quot;0,100,200,400&quot;)
     @chart.query_params[:chxr].should eql(&quot;0,0,500&quot;)
@@ -122,4 +123,14 @@ describe GoogleChart::Axis do
     lambda { @chart.axis(:top, params) }.should raise_error(ArgumentError)
   end
 
+  it &quot;should raise an error if an invalid drawing control is given&quot; do
+    params = @valid_axis_params.except(:drawing_control)
+    lambda { @chart.axis(:top, params) }.should_not raise_error(ArgumentError)
+    params[:drawing_control] = :ticks
+    lambda { @chart.axis(:top, params) }.should_not raise_error(ArgumentError)
+    
+    params[:drawing_control] = :blah
+    lambda { @chart.axis(:top, params) }.should raise_error(ArgumentError)
+  end
+  
 end</diff>
      <filename>spec/gchartrb/axis_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c93f7bd9ec1f48ba148f6dc8c6c55ca2dec14e66</id>
    </parent>
  </parents>
  <author>
    <name>Martin Sadler</name>
    <email>martin@martin.local</email>
  </author>
  <url>http://github.com/martinbtt/gchartrb/commit/ff618a37c9e0f286736f954a57491819bc6c2786</url>
  <id>ff618a37c9e0f286736f954a57491819bc6c2786</id>
  <committed-date>2009-10-07T05:58:56-07:00</committed-date>
  <authored-date>2009-10-07T05:58:56-07:00</authored-date>
  <message>add drawing_control support to axis e.g. add tick lines</message>
  <tree>b07cd66115dc5f1ce72611483a05e53b242fef51</tree>
  <committer>
    <name>Martin Sadler</name>
    <email>martin@martin.local</email>
  </committer>
</commit>
