switched lineChart to show category overtime

pull/18/head
Sami Mokaddem 2017-10-24 17:28:56 +02:00
parent 3a579b7329
commit 939d1783df
2 changed files with 5 additions and 5 deletions

View File

@ -177,13 +177,13 @@ function updateLogTable(feedName, log) {
// Create new row
tableBody = document.getElementById('table_log_body');
//curNumLog++;
sources.addIfNotPresent(feedName);
sources.incCountOnSource(feedName);
sources.incCountOnSource('global');
// only add row for attribute
if (feedName == "Attribute" ) {
var categName = log[2];
sources.addIfNotPresent(categName);
sources.incCountOnSource(categName);
sources.incCountOnSource('global');
createRow(tableBody, log);
// Remove old row

View File

@ -149,7 +149,7 @@ small {
<!-- /.panel -->
<div id="panelLineChart" class="panel panel-default" style="margin-top: 15px; height: {{ pannelSize[1] }}vh;">
<div class="panel-heading">
<i class="fa fa-bar-chart-o fa-fw"></i> Log feed (hours)
<i class="fa fa-bar-chart-o fa-fw"></i> Category overtime (hours)
</div>
<div id="panelbody" class="panel-body" style="width:100%; height: 100%;">
<div id="feedDiv3" style="width:100%; height: calc(100% - 46px); position: relative;"></div>