|
@@ -117,13 +117,31 @@ table.dataTable thead tr th, table.dataTable tbody tr td {
|
|
|
{# TAB Utilization #}
|
|
|
<div class="tab-pane" id="tab_2" style="width: 100%">
|
|
|
<div class="col-sm-12" style="width: 100%">
|
|
|
+ <button id="cmts_if_utilization_button_desv" class="btn bg-olive btn-flat margin" title="{{'info.show_if_usage'|trans({},'StatsBundle')}}">
|
|
|
+ <i class="fa fa-exclamation-circle"></i> {{'show_high'|trans({},'StatsBundle')}}
|
|
|
+ </button>
|
|
|
+ <button id="cmts_if_utilization_button_show" class="btn bg-olive btn-flat margin">
|
|
|
+ <i class="fa fa-eye"></i> {{'show_all'|trans({},'StatsBundle')}}
|
|
|
+ </button>
|
|
|
+ <button id="cmts_if_utilization_button_hide" class="btn bg-olive btn-flat margin">
|
|
|
+ <i class="fa fa-eye-slash"></i> {{'hide_all'|trans({},'StatsBundle')}}
|
|
|
+ </button>
|
|
|
+
|
|
|
<div id="interface_utilization" style="width: 100%;min-height: 600px;"></div>
|
|
|
+
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
{# TAB SNR #}
|
|
|
<div class="tab-pane" id="tab_3" style="width: 100%">
|
|
|
<div class="col-sm-12" style="width: 100%">
|
|
|
+ <button id="cmts_if_snr_button_show" class="btn bg-olive btn-flat margin">
|
|
|
+ <i class="fa fa-eye"></i> {{'show_all'|trans({},'StatsBundle')}}
|
|
|
+ </button>
|
|
|
+ <button id="cmts_if_snr_button_hide" class="btn bg-olive btn-flat margin">
|
|
|
+ <i class="fa fa-eye-slash"></i> {{'hide_all'|trans({},'StatsBundle')}}
|
|
|
+ </button>
|
|
|
+
|
|
|
<div id="interface_snr" style="width: 100%;min-height: 600px;"></div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -131,6 +149,13 @@ table.dataTable thead tr th, table.dataTable tbody tr td {
|
|
|
{# TAB CER #}
|
|
|
<div class="tab-pane" id="tab_4" style="width: 100%">
|
|
|
<div class="col-sm-12" style="width: 100%">
|
|
|
+ <button id="cmts_if_cer_button_show" class="btn bg-olive btn-flat margin">
|
|
|
+ <i class="fa fa-eye"></i> {{'show_all'|trans({},'StatsBundle')}}
|
|
|
+ </button>
|
|
|
+ <button id="cmts_if_cer_button_hide" class="btn bg-olive btn-flat margin">
|
|
|
+ <i class="fa fa-eye-slash"></i> {{'hide_all'|trans({},'StatsBundle')}}
|
|
|
+ </button>
|
|
|
+
|
|
|
<div id="interface_cer" style="width: 100%;min-height: 600px;"></div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -162,6 +187,69 @@ if((to - from) <= 21600) {
|
|
|
markerEnable = true;
|
|
|
}
|
|
|
|
|
|
+$("#cmts_if_utilization_button_show").click(function() {
|
|
|
+ var chart = $('#interface_utilization').highcharts();
|
|
|
+
|
|
|
+ $(chart.series).each(function(){
|
|
|
+ if(this.options['group'] != 'nav') this.setVisible(true, false);
|
|
|
+ });
|
|
|
+ chart.redraw();
|
|
|
+});
|
|
|
+
|
|
|
+$("#cmts_if_utilization_button_hide").click(function() {
|
|
|
+ var chart = $('#interface_utilization').highcharts();
|
|
|
+
|
|
|
+ $(chart.series).each(function(){
|
|
|
+ if(this.options['group'] != 'nav') this.setVisible(false, false);
|
|
|
+ });
|
|
|
+ chart.redraw();
|
|
|
+});
|
|
|
+
|
|
|
+$("#cmts_if_utilization_button_desv").click(function() {
|
|
|
+ var chart = $('#interface_utilization').highcharts();
|
|
|
+
|
|
|
+ $(chart.series).each(function(){
|
|
|
+ if(this.options['group'] != 'nav') this.setVisible(false, false);
|
|
|
+ if(this.options['desv']) this.setVisible(true, false);
|
|
|
+ });
|
|
|
+ chart.redraw();
|
|
|
+});
|
|
|
+
|
|
|
+$("#cmts_if_cer_button_show").click(function() {
|
|
|
+ var chart = $('#interface_cer').highcharts();
|
|
|
+
|
|
|
+ $(chart.series).each(function(){
|
|
|
+ if(this.options['group'] != 'nav') this.setVisible(true, false);
|
|
|
+ });
|
|
|
+ chart.redraw();
|
|
|
+});
|
|
|
+
|
|
|
+$("#cmts_if_cer_button_hide").click(function() {
|
|
|
+ var chart = $('#interface_cer').highcharts();
|
|
|
+
|
|
|
+ $(chart.series).each(function(){
|
|
|
+ if(this.options['group'] != 'nav') this.setVisible(false, false);
|
|
|
+ });
|
|
|
+ chart.redraw();
|
|
|
+});
|
|
|
+
|
|
|
+$("#cmts_if_snr_button_show").click(function() {
|
|
|
+ var chart = $('#interface_snr').highcharts();
|
|
|
+
|
|
|
+ $(chart.series).each(function(){
|
|
|
+ if(this.options['group'] != 'nav') this.setVisible(true, false);
|
|
|
+ });
|
|
|
+ chart.redraw();
|
|
|
+});
|
|
|
+
|
|
|
+$("#cmts_if_snr_button_hide").click(function() {
|
|
|
+ var chart = $('#interface_snr').highcharts();
|
|
|
+
|
|
|
+ $(chart.series).each(function(){
|
|
|
+ if(this.options['group'] != 'nav') this.setVisible(false, false);
|
|
|
+ });
|
|
|
+ chart.redraw();
|
|
|
+});
|
|
|
|
|
|
Highcharts.chart('cmts_consumption', {
|
|
|
chart: {type: 'spline'},
|