<%= legend_tag "Visits by Kind (#{params[:time_period].titleize})", :help => 'This graph shows a breakdown of visits based on the visit source (direct, referring site, organic search, or paid search). Click on a data point in the graph for more information.' -%>
<%= Seer::visualize( @visits, :as => :line_chart, :in_element => 'visits_chart', :series => { :series_label => 'kind', :data_label => 'short_date', :data_method => 'visits', :data_series => @visits_series }, :chart_options => { :height => 300, :width => 900, :axis_font_size => 11, :colors => ['#7e7587','#7e7e00','#007e7e','#7e0000', '#007e00'], :title => "", :point_size => 5 } ) -%>