Sha256: 4e9884ac59074f9096a502563b5e612926f512e598213004e0261e07f71c46c2

Contents?: true

Size: 1017 Bytes

Versions: 1

Compression:

Stored size: 1017 Bytes

Contents

<fieldset class="form_container">
  <%= 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.' -%>
  <br />
  <div id="visits_chart" class="chart" style="width: 100%; border: 1px solid #999999; background-color: #ffffff; text-align: center;"></div>
  <%= 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
        }
       )
   -%>
</fieldset>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mitamirri-0.13.8 app/views/trackable_sessions/_visits_graph.html.erb