This commit is contained in:
Rashid Khan 2013-11-04 14:03:03 -07:00
parent ff98f46442
commit 58c6561671
3 changed files with 6 additions and 1 deletions

View File

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

View File

@ -1,4 +1,7 @@
<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;">
<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>

View File

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