X-Git-Url: http://spangdorfia.com/code/?p=kismet-logviewer.git;a=blobdiff_plain;f=logviewer%2Fstatic%2Fjs%2Fjquery.kismet.channeldisplay.js;fp=logviewer%2Fstatic%2Fjs%2Fjquery.kismet.channeldisplay.js;h=5a3dfd5690f3458e8b2cde80262d5af5c6dea342;hp=40f30cbf5497f22963d200bb455abe2f13f3d0ca;hb=d4fe9834a60132f118a1e8ee68e5221b28e10ccc;hpb=662453a92f419012cde6a79dc38df89c5be4d91b diff --git a/logviewer/static/js/jquery.kismet.channeldisplay.js b/logviewer/static/js/jquery.kismet.channeldisplay.js index 40f30cb..5a3dfd5 100644 --- a/logviewer/static/js/jquery.kismet.channeldisplay.js +++ b/logviewer/static/js/jquery.kismet.channeldisplay.js @@ -159,6 +159,7 @@ // Build the dataset record var ds = { + stack: 'bar', label: label, fill: true, lineTension: 0.1, @@ -216,7 +217,7 @@ state.timegraph_chart.data.datasets = datasets; state.timegraph_chart.data.labels = pointtitles; - state.timegraph_chart.update(0); + state.timegraph_chart.update(); } } else { // 'now', but default - if for some reason we didn't get a @@ -261,7 +262,7 @@ datasets: [ { label: "Devices per Channel", - backgroundColor: 'rgba(160, 160, 160, 1)', + backgroundColor: kismet_theme.graphBasicColor, data: devnums, borderWidth: 1, }