Added initial target options menu.
This commit is contained in:
@@ -173,6 +173,9 @@
|
||||
class="input-large tight-form-input"
|
||||
ng-style="target.item.style">
|
||||
</li>
|
||||
<li class="tight-form-item query-keyword">Options</li>
|
||||
<li class="dropdown" dropdown-typeahead="optionsMenu" dropdown-typeahead-on-select="addSelectPart(selectParts, $item, $subItem)">
|
||||
</li>
|
||||
|
||||
<!-- Scale -->
|
||||
<!-- <li class="tight-form-item" ng-hide="target.mode == 2">
|
||||
|
||||
@@ -17,6 +17,22 @@ define([
|
||||
$scope.targetLetters = targetLetters;
|
||||
$scope.metric = {};
|
||||
|
||||
$scope.optionsMenu = [
|
||||
{text: "Transformations", submenu: [
|
||||
{text: "groupBy", value: null},
|
||||
{text: "scale", value: null}
|
||||
]},
|
||||
{text: "Aggregations", submenu: [
|
||||
{text: "sum", value: null},
|
||||
{text: "average", value: null},
|
||||
{text: "min", value: null},
|
||||
{text: "max", value: null}
|
||||
]},
|
||||
{text: "Alias", submenu: [
|
||||
{text: "set alias", value: null},
|
||||
]},
|
||||
];
|
||||
|
||||
// Load default values
|
||||
var targetDefaults = {
|
||||
mode: 0,
|
||||
|
||||
Reference in New Issue
Block a user