mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Graphite: Fix for nonNegativeDerivative function, now possible to not include optional first parameter maxValue, Closes #702
This commit is contained in:
parent
4ee455fad2
commit
cb479d737b
@ -21,6 +21,7 @@
|
|||||||
- [Issue #696](https://github.com/grafana/grafana/issues/696). Graph: Fix for y-axis format 'none' when values are in scientific notation (ex 2.3e-13)
|
- [Issue #696](https://github.com/grafana/grafana/issues/696). Graph: Fix for y-axis format 'none' when values are in scientific notation (ex 2.3e-13)
|
||||||
- [Issue #733](https://github.com/grafana/grafana/issues/733). Graph: Fix for tooltip current value decimal precision when 'none' axis format was selected
|
- [Issue #733](https://github.com/grafana/grafana/issues/733). Graph: Fix for tooltip current value decimal precision when 'none' axis format was selected
|
||||||
- [Issue #697](https://github.com/grafana/grafana/issues/697). Graphite: Fix for Glob syntax in graphite queries ([1-9] and ?) that made the query editor / parser bail and fallback to a text box.
|
- [Issue #697](https://github.com/grafana/grafana/issues/697). Graphite: Fix for Glob syntax in graphite queries ([1-9] and ?) that made the query editor / parser bail and fallback to a text box.
|
||||||
|
- [Issue #702](https://github.com/grafana/grafana/issues/702). Graphite: Fix for nonNegativeDerivative function, now possible to not include optional first parameter maxValue
|
||||||
- [Issue #277](https://github.com/grafana/grafana/issues/277). Dashboard: Fix for timepicker date & tooltip when UTC timezone selected.
|
- [Issue #277](https://github.com/grafana/grafana/issues/277). Dashboard: Fix for timepicker date & tooltip when UTC timezone selected.
|
||||||
- [Issue #699](https://github.com/grafana/grafana/issues/699). Dashboard: Fix for bug when adding rows from dashboard settings dialog.
|
- [Issue #699](https://github.com/grafana/grafana/issues/699). Dashboard: Fix for bug when adding rows from dashboard settings dialog.
|
||||||
- [Issue #723](https://github.com/grafana/grafana/issues/723). Dashboard: Fix for hide controls setting not used/initialized on dashboard load
|
- [Issue #723](https://github.com/grafana/grafana/issues/723). Dashboard: Fix for hide controls setting not used/initialized on dashboard load
|
||||||
|
@ -147,7 +147,7 @@ function (angular, _, $) {
|
|||||||
$funcLink.appendTo(elem);
|
$funcLink.appendTo(elem);
|
||||||
|
|
||||||
_.each(funcDef.params, function(param, index) {
|
_.each(funcDef.params, function(param, index) {
|
||||||
if (param.optional && !func.params[index]) {
|
if (param.optional && func.params.length !== index + 1) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,10 +21,6 @@ function (angular, _, $) {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.onAppEvent('dashboard-saved', function() {
|
|
||||||
self.update({ fullscreen: false });
|
|
||||||
});
|
|
||||||
|
|
||||||
$scope.onAppEvent('$routeUpdate', function() {
|
$scope.onAppEvent('$routeUpdate', function() {
|
||||||
var urlState = self.getQueryStringState();
|
var urlState = self.getQueryStringState();
|
||||||
if (self.needsSync(urlState)) {
|
if (self.needsSync(urlState)) {
|
||||||
|
@ -280,8 +280,8 @@ function (_) {
|
|||||||
addFuncDef({
|
addFuncDef({
|
||||||
name: 'nonNegativeDerivative',
|
name: 'nonNegativeDerivative',
|
||||||
category: categories.Transform,
|
category: categories.Transform,
|
||||||
params: [{ name: "max value or 0", type: "int", }],
|
params: [{ name: "max value or 0", type: "int", optional: true }],
|
||||||
defaultParams: [0]
|
defaultParams: ['']
|
||||||
});
|
});
|
||||||
|
|
||||||
addFuncDef({
|
addFuncDef({
|
||||||
|
Loading…
Reference in New Issue
Block a user