Rashid Khan 12 anni fa
parent
commit
58c6561671

+ 0 - 1
src/app/panels/histogram/module.js

@@ -35,7 +35,6 @@ define([
   'kbn',
   'kbn',
   'moment',
   'moment',
   './timeSeries',
   './timeSeries',
-
   'jquery.flot',
   'jquery.flot',
   'jquery.flot.events',
   'jquery.flot.events',
   'jquery.flot.selection',
   'jquery.flot.selection',

+ 3 - 0
src/app/panels/pie/module.html

@@ -1,4 +1,7 @@
 <div ng-controller='pie' ng-init="init()">
 <div ng-controller='pie' ng-init="init()">
+  <style>
+    .pieLabel { pointer-events: none }
+  </style>
   <div ng-show="panel.legend == 'above'" ng-repeat="query in legend" style="float:left;padding-left: 10px;">
   <div ng-show="panel.legend == 'above'" ng-repeat="query in legend" style="float:left;padding-left: 10px;">
     <span ng-show="panel.chart != 'none'"><i class="icon-circle" ng-style="{color:query.color}"></i></span><span class="small"> {{query.label}} ({{query.data[0][1]}}) </span></span>
     <span ng-show="panel.chart != 'none'"><i class="icon-circle" ng-style="{color:query.color}"></i></span><span class="small"> {{query.label}} ({{query.data[0][1]}}) </span></span>
   </div><br>
   </div><br>

+ 3 - 0
src/app/panels/terms/module.html

@@ -1,4 +1,7 @@
 <div ng-controller='terms' ng-init="init()">
 <div ng-controller='terms' ng-init="init()">
+  <style>
+    .pieLabel { pointer-events: none }
+  </style>
   <!-- START Pie or bar chart -->
   <!-- START Pie or bar chart -->
   <div ng-show="panel.counter_pos == 'above' && (panel.chart == 'bar' || panel.chart == 'pie')" id='{{$id}}-legend'>
   <div ng-show="panel.counter_pos == 'above' && (panel.chart == 'bar' || panel.chart == 'pie')" id='{{$id}}-legend'>
     <!-- vertical legend above -->
     <!-- vertical legend above -->