mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 00:08:10 -05:00
Closes #17
This commit is contained in:
@@ -35,7 +35,6 @@ define([
|
||||
'kbn',
|
||||
'moment',
|
||||
'./timeSeries',
|
||||
|
||||
'jquery.flot',
|
||||
'jquery.flot.events',
|
||||
'jquery.flot.selection',
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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 -->
|
||||
|
||||
Reference in New Issue
Block a user