fixed file loading

This commit is contained in:
Rashid Khan
2013-03-27 15:03:23 -04:00
parent 79dbffc875
commit e793ac4b5f
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -246,7 +246,7 @@ angular.module('kibana.pie', [])
show: scope.panel.labels,
radius: 2/3,
formatter: function(label, series){
return '<div style="font-size:8pt;text-align:center;padding:2px;color:white;">'+
return '<div ng-click="build_search(panel.query.field,\''+label+'\') "style="font-size:8pt;text-align:center;padding:2px;color:white;">'+
label+'<br/>'+Math.round(series.percent)+'%</div>';
},
threshold: 0.1
@@ -311,7 +311,6 @@ angular.module('kibana.pie', [])
}
});
}
};
})