mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
sort panel documentation
This commit is contained in:
parent
5e297222b0
commit
db524af6b2
@ -1,3 +1,25 @@
|
|||||||
|
/*
|
||||||
|
|
||||||
|
## Sort
|
||||||
|
|
||||||
|
This will probably be removed in the near future since it only interacts with
|
||||||
|
the table panel and the table panel already implements all of its functionality.
|
||||||
|
It only interacts with the table panel in any case
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
* label :: The label to stick over the drop down
|
||||||
|
* sort :: An array where the first elemetn is the field to sort on an the second
|
||||||
|
is the direction ('asc' or 'desc')
|
||||||
|
### Group Events
|
||||||
|
#### Sends
|
||||||
|
* sort :: An array where the first elemetn is the field to sort on an the second
|
||||||
|
is the direction ('asc' or 'desc')
|
||||||
|
#### Receives
|
||||||
|
* fields :: An array containing the fields in a table. This will be concat'd +
|
||||||
|
uniqued with the curent list.
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
angular.module('kibana.sort', [])
|
angular.module('kibana.sort', [])
|
||||||
.controller('sort', function($scope, eventBus) {
|
.controller('sort', function($scope, eventBus) {
|
||||||
|
|
||||||
|
@ -1,3 +1,25 @@
|
|||||||
|
/*
|
||||||
|
|
||||||
|
## Sort
|
||||||
|
|
||||||
|
This will probably be removed in the near future since it only interacts with
|
||||||
|
the table panel and the table panel already implements all of its functionality.
|
||||||
|
It only interacts with the table panel in any case
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
* label :: The label to stick over the drop down
|
||||||
|
* sort :: An array where the first elemetn is the field to sort on an the second
|
||||||
|
is the direction ('asc' or 'desc')
|
||||||
|
### Group Events
|
||||||
|
#### Sends
|
||||||
|
* sort :: An array where the first elemetn is the field to sort on an the second
|
||||||
|
is the direction ('asc' or 'desc')
|
||||||
|
#### Receives
|
||||||
|
* fields :: An array containing the fields in a table. This will be concat'd +
|
||||||
|
uniqued with the curent list.
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
angular.module('kibana.stringquery', [])
|
angular.module('kibana.stringquery', [])
|
||||||
.controller('stringquery', function($scope, eventBus) {
|
.controller('stringquery', function($scope, eventBus) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user