Added panelMeta object for extra panel details, moved add panel button, tweaked editors

This commit is contained in:
Rashid Khan
2013-07-25 21:27:37 -07:00
parent 34f8c88c28
commit 13fc14ffa9
25 changed files with 144 additions and 112 deletions
+7 -7
View File
@@ -5,12 +5,6 @@
## Map
LOL. Should this even be documented? Zach's map panel is going to ruin this one.
For serious. This shades a map of the world, the US or Europe with the number of
events that match the query. Uses 2 letter country codes and nothing else. This uses
a terms facet. Its probably safe as long as you point it at the right field. Nach.
There's no way to query sequentially here, so I'm going to hit them all at once!
### Parameters
* map :: 'world', 'us' or 'europe'
* colors :: an array of colors to use for the regions of the map. If this is a 2
@@ -28,9 +22,15 @@
angular.module('kibana.map', [])
.controller('map', function($scope, $rootScope, querySrv, dashboard, filterSrv) {
$scope.panelMeta = {
status : "Stable",
description : "Displays a map of shaded regions using a field containing a 2 letter country "+
", or US state, code. Regions with more hit are shaded darker. Node that this does use the"+
" Elasticsearch terms facet, so it is important that you set it to the correct field."
};
// Set and populate defaults
var _d = {
status : "Beta",
queries : {
mode : 'all',
ids : []