OFC2 4 Rails

area with any dot shape chart

# include js file on site
  = javascript_include_tag 'swfobject.js'

# in controller
  #ofc2(width, height, url, id =Time.now.usec, flash_attributes = {}, flash_params = {})
  @graph = ofc2(650,300, 'charts_ofc2/area_with_any_dot_shape')

#in controller which is generating data for charts (for me it's charts_ofc2)
  

# display graph in view (haml)
  =@graph