<commit_before>LazyHighCharts
==============

plugin for make highcharts a la ruby

  highcharts:http://www.highcharts.com/demo/

Some Ideas & code taken from 

  flotomatic

  open_flash_chart_lazy
  

Usage
=======

 Usage in Controller:
  
     @h = HighChart.new('graph') do |f|
        f.series('John', [3, 20, 3, 5, 4, 10, 12 ,3, 5,6,7,7,80,9,9])
        f.series('Jane', [1, 3, 4, 3, 3, 5, 4,-46,7,8,8,9,9,0,0,9] )
      end
 

  Without overriding option:  
 
     @h = HighChart.new('graph') do |f|
      .....

          f.options[:legend][:layout] = "horizontal"
          f.options[:x_axis][:categories] = ["uno" ,"dos" , "tres" , "cuatro"]
     ......

  Overriding entire option: 

     @h = HighChart.new('graph') do |f|
       .....
          f.x_axis(:categories => @days.reverse! , :labels=>{:rotation=>-45 , :align => 'right'})
          f.series_type("spline")
       .....


  Usage in layout:

     <%= javascript_include_tag :defaults %>
     <%= javascript_include_tag :high_charts %>
     <!--[if IE]>
      <%= javascript_include_tag :ie_high_charts %>
     <![endif]-->
      
  Usage in view:
  
    <%= high_chart("my_id", @h) %>


  Option reference:

     http://www.highcharts.com/ref/
    


Copyright (c) 2009 [<NAME>], released under the MIT license<commit_msg>readme, works in rails 2.3.x and 3.0.0<commit_after>LazyHighCharts
==============

plugin for make highcharts a la ruby

  highcharts:http://www.highcharts.com/demo/

Some Ideas & code taken from 

  flotomatic

  open_flash_chart_lazy

requires:
  
  jquery, tested in rails 2.3.x and 3.0.0
  

Usage
=======

 Usage in Controller:
  
     @h = HighChart.new('graph') do |f|
        f.series('John', [3, 20, 3, 5, 4, 10, 12 ,3, 5,6,7,7,80,9,9])
        f.series('Jane', [1, 3, 4, 3, 3, 5, 4,-46,7,8,8,9,9,0,0,9] )
      end
 

  Without overriding option:  
 
     @h = HighChart.new('graph') do |f|
      .....
          f.options[:chart][:defaultSeriesType] = "area"
          f.options[:chart][:inverted] = true
          f.options[:legend][:layout] = "horizontal"
          f.options[:x_axis][:categories] = ["uno" ,"dos" , "tres" , "cuatro"]
     ......

  Overriding entire option: 

     @h = HighChart.new('graph') do |f|
       .....
          f.x_axis(:categories => @days.reverse! , :labels=>{:rotation=>-45 , :align => 'right'})
          f.series_type("spline")
       .....


  Usage in layout:
      
     <%= javascript_include_tag :defaults %>
     <%= javascript_include_tag :high_charts %>
     <!--[if IE]>
      <%= javascript_include_tag :ie_high_charts %>
     <![endif]-->
      
  Usage in view:
  
    <%= high_chart("my_id", @h) %>


  Option reference:

     http://www.highcharts.com/ref/
    


Copyright (c) 2009 [<NAME>], released under the MIT license
{'fraction_non_alphanumeric': 0.19093851132686085, 'fraction_numerical': 0.03380079108234448, 'mean_word_length': 2.4176904176904177, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6970943', 'n_tokens_mistral': 1146, 'n_tokens_neox': 975, 'n_words': 215}