Sha256: b445b0b12a0a85318db378a17b163d469e666030f4105a6d13698f0083d85b59

Contents?: true

Size: 531 Bytes

Versions: 3

Compression:

Stored size: 531 Bytes

Contents

<h2>Dashboard</h2>
<hr>

<div id="usageChart"></div>
 


<script type="text/javascript" charset="utf-8">

	$(function(){
		 Morris.Area({
	        element: 'usageChart',
	        data: [
	    <%graph_data.each do |t|%>
	        {
	            period: '<%= t[:date]%>',
	            logs: <%= t[:count]%>
	        },
	     <%end%>   
	        ],
	        xkey: 'period',
	        ykeys: ['logs'],
	        labels: ['Log count'],
	        pointSize: 2,
	        hideHover: 'auto',
	        resize: true
	    });
	    
	});
</script>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
logman-0.1.0 lib/console/views/dashboard.erb
logman-0.1.0.alpha lib/console/views/dashboard.erb
logman-0.0.2 lib/console/views/dashboard.erb