<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>app/views/test_it/index_radar.html.erb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,5 @@
 class TestItController &lt; ApplicationController
-#  include OpenFlashChart
+  #  include OpenFlashChart
   
   def index
     respond_to do |wants|
@@ -14,11 +14,11 @@ class TestItController &lt; ApplicationController
       }
     end
   end
-
+  
   def index_bar
     @graph = open_flash_chart_object(600,300,&quot;/test_it/graph_code_bar&quot;)
   end
-
+  
   def graph_code_bar
     title = Title.new(&quot;MY TITLE&quot;)
     bar = BarGlass.new
@@ -261,7 +261,7 @@ class TestItController &lt; ApplicationController
     chart = OpenFlashChart.new
     title = Title.new(Date.today.to_s)
     chart.set_title(title)
-
+    
     scatter_line = ScatterLine.new( '#FFD600', 3 )
     v = Array.new
     x = 0
@@ -280,45 +280,105 @@ class TestItController &lt; ApplicationController
     end
     scatter_line.set_values(v)
     chart.add_element(scatter_line)
-
+    
     x_axis = XAxis.new
     x_axis.set_range(0,25)
     chart.x_axis = x_axis
-
+    
     y_axis = YAxis.new
     y_axis.set_range( -10, 10 )
     chart.y_axis = y_axis
     render :text =&gt; chart.to_s
   end
-
+  
   def index_pie
     @graph = open_flash_chart_object(600,300,&quot;/test_it/graph_code_pie&quot;)
   end
-
+  
   def graph_code_pie
     # based on this example - http://teethgrinder.co.uk/open-flash-chart-2/pie-chart.php
     title = Title.new(&quot;Pie Chart Example For Chipster&quot;)
-
+    
     pie = Pie.new
     pie.start_angle = 35
     pie.animate = true
     pie.tooltip = '#val# of #total#&lt;br&gt;#percent# of 100%'
     pie.colours = [&quot;#d01f3c&quot;, &quot;#356aa0&quot;, &quot;#C79810&quot;]
     pie.values  = [2,3, PieValue.new(6.5,&quot;Hello (6.5)&quot;)]
-
+    
     chart = OpenFlashChart.new
     chart.title = title
     chart.add_element(pie)
-
+    
     chart.x_axis = nil
-
+    
     render :text =&gt; chart.to_s
   end
-
+  
+  def index_radar
+    @graph = open_flash_chart_object(600,300,&quot;/test_it/graph_code_radar&quot;)
+  end
+  
+  def graph_code_radar
+    # based on this example - http://teethgrinder.co.uk/open-flash-chart-2/radar-chart-lines.php
+    chart = OpenFlashChart.new
+    chart.set_title(Title.new('Radar Chart'))
+    line_1 = LineHollow.new
+    line_1.set_values(Array.new([3, 4, 5, 4, 3, 3, 2.5]))
+    line_1.set_halo_size( 2 )
+    line_1.set_width( 1 )
+    line_1.set_dot_size( 3 )
+    line_1.set_colour( '#FBB829' )
+    line_1.set_tooltip( &quot;Gold&lt;br&gt;#val#&quot; )
+    line_1.set_key( 'Mr Gold', 10 )
+    
+    line_2 = LineDot.new
+    line_2.set_values(Array.new([2, 2, 2, 2, 2, 2, 2]));
+    line_2.set_halo_size( 2 )
+    line_2.set_width( 1 )
+    line_2.set_dot_size( 3 )
+    line_2.set_colour( '#8000FF' )
+    line_2.set_tooltip( &quot;Purple&lt;br&gt;#val#&quot; )
+    line_2.set_key( 'Mr Purple', 10 )
+    line_2.loop()
+    
+    #// add the area object to the chart:
+    chart.add_element( line_1 )
+    chart.add_element( line_2 )
+    #    
+    r = RadarAxis.new( 5 )
+    
+    r.set_colour( '#DAD5E0' )
+    r.set_grid_colour( '#DAD5E0' )
+    labels = RadarAxisLabels.new(Array.new(['Zero','','','Middle','','High']))
+    labels.set_colour( '#9F819F' )
+    r.set_labels( labels )
+    
+    spoke_labels = RadarSpokeLabels.new(Array.new([
+        'Strength',
+        'Smarts',
+        'Sweet&lt;br&gt;Tooth',
+        'Armour',
+        'Max Hit Points',
+        '???',
+        'Looks Like a Monkey']))
+    
+    spoke_labels.set_colour( '#9F819F' )
+    r.set_spoke_labels( spoke_labels )
+    chart.set_radar_axis( r )
+    tooltip = Tooltip.new()
+    tooltip.set_proximity()
+    chart.set_tooltip( tooltip )
+    chart.set_bg_colour( '#ffffff' )
+    render :text =&gt; chart.to_s
+  end  
+  
+  
   def all_graphs
     @graph_bar  = open_flash_chart_object(600,300,&quot;/test_it/graph_code_bar&quot;)
     @graph_line = open_flash_chart_object(600,300,&quot;/test_it/graph_code_line&quot;)
     @graph_pie  = open_flash_chart_object(600,300,&quot;/test_it/graph_code_pie&quot;)
     @graph_sl   = open_flash_chart_object(600,300,&quot;/test_it/graph_code_scatterline&quot;)
+    @graph_radar= open_flash_chart_object(600,300,&quot;/test_it/graph_code_radar&quot;)    
   end
 end</diff>
      <filename>app/controllers/test_it_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -11,5 +11,8 @@
 &lt;%= @graph_pie %&gt;&lt;br&gt;
 	Scatterline chart&lt;br&gt;
 &lt;%= @graph_sl %&gt;&lt;br&gt;
+	Radar chart&lt;br&gt;
+&lt;%= @graph_radar %&gt;&lt;br&gt;
+
 &lt;/body&gt;
 &lt;/html&gt;
\ No newline at end of file</diff>
      <filename>app/views/test_it/all_graphs.html.erb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7926cc3561b3372e2e2c4d93d75d1822fbddcd61</id>
    </parent>
  </parents>
  <author>
    <name>Harry Seldon</name>
    <email>harry.seldon.f@gmail.com</email>
  </author>
  <url>http://github.com/pullmonkey/ofc_test_app/commit/285b5ce0a0062c886f1b6eb45f8ce28cb7d7f829</url>
  <id>285b5ce0a0062c886f1b6eb45f8ce28cb7d7f829</id>
  <committed-date>2008-11-07T11:53:30-08:00</committed-date>
  <authored-date>2008-11-07T11:53:30-08:00</authored-date>
  <message>Add radar chart</message>
  <tree>a91776f5373b497be8ed0e3f55ec4a5cac662443</tree>
  <committer>
    <name>Harry Seldon</name>
    <email>harry.seldon.f@gmail.com</email>
  </committer>
</commit>
