orbit-basic/app/views/admin/dashboards/_traffic_loading.erb

18 lines
682 B
Plaintext
Raw Permalink Normal View History

2013-10-30 10:23:46 +00:00
<div class="box-header">
<h2>
<i class="icons-book-2"></i>
<span class="break"></span>
2013-11-04 09:45:01 +00:00
<%= t(:monthly_traffic)%>
2013-10-30 10:23:46 +00:00
</h2>
</div>
<div class="box-content">
2013-11-04 09:45:01 +00:00
<div id="month_traffic" style="min-width: 310px; margin: 0 auto">
<%= line_chart get_month_traffic, :height => "200px", :name => 'Visit',
:library => {
legend: 'none',
chartArea:{ width: '95%', left: 50, right: 0},
hAxis:{format:'MMM-d',gridlines:{color: '#CCC', count: 31}},
vAxis:{minValue:-100,viewWindowMode: 'maximized'}
} %>
</div>
</div>