diff --git a/CHANGELOG.md b/CHANGELOG.md index 1909b01c7bc..7b525a62999 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ **Fixes** - [Issue #802](https://github.com/grafana/grafana/issues/802). Annotations: Fix when using InfluxDB datasource - [Issue #795](https://github.com/grafana/grafana/issues/795). Chrome: Fix for display issue in chrome beta & chrome canary when entering edit mode +- [Issue #818](https://github.com/grafana/grafana/issues/818). Graph: Added percent y-axis format # 1.8.0-RC1 (2014-09-12) diff --git a/src/app/components/kbn.js b/src/app/components/kbn.js index cefcb42d289..374d2f561b8 100644 --- a/src/app/components/kbn.js +++ b/src/app/components/kbn.js @@ -531,6 +531,10 @@ function($, _, moment) { return function(val) { return kbn.nanosFormat(val, decimals); }; + case 'percent': + return function(val, axis) { + return kbn.noneFormat(val, axis ? axis.tickDecimals : null) + ' %'; + }; default: return function(val, axis) { return kbn.noneFormat(val, axis ? axis.tickDecimals : null); diff --git a/src/app/panels/graph/axisEditor.html b/src/app/panels/graph/axisEditor.html index 6800ee832b9..9380cb99327 100644 --- a/src/app/panels/graph/axisEditor.html +++ b/src/app/panels/graph/axisEditor.html @@ -4,7 +4,7 @@
Left Y Axis
- +
@@ -23,7 +23,7 @@
Right Y Axis
- +
diff --git a/src/app/panels/graph/seriesOverridesCtrl.js b/src/app/panels/graph/seriesOverridesCtrl.js index 4f54c6d0e6f..1b6b1dfc144 100644 --- a/src/app/panels/graph/seriesOverridesCtrl.js +++ b/src/app/panels/graph/seriesOverridesCtrl.js @@ -70,7 +70,7 @@ define([ $scope.addOverrideOption('Staircase line', 'steppedLine', [true, false]); $scope.addOverrideOption('Points', 'points', [true, false]); $scope.addOverrideOption('Points Radius', 'pointradius', [1,2,3,4,5]); - $scope.addOverrideOption('Stack', 'stack', [true, false]); + $scope.addOverrideOption('Stack', 'stack', [true, false, 2, 3, 4, 5]); $scope.addOverrideOption('Y-axis', 'yaxis', [1, 2]); $scope.addOverrideOption('Z-index', 'zindex', [-1,-2,-3,0,1,2,3]); $scope.updateCurrentOverrides(); diff --git a/src/app/partials/playlist.html b/src/app/partials/playlist.html index 3b3ba7600c4..1517678e730 100644 --- a/src/app/partials/playlist.html +++ b/src/app/partials/playlist.html @@ -38,7 +38,7 @@
- dashboards available in the playlist are only the once marked as favorites (stored in local browser storage). + dashboards available in the playlist are only the ones marked as favorites (stored in local browser storage). to mark a dashboard as favorite, use save icon in the menu and in the dropdown select mark as favorite

diff --git a/src/app/services/graphite/gfunc.js b/src/app/services/graphite/gfunc.js index 533bb897283..1acfad8739b 100644 --- a/src/app/services/graphite/gfunc.js +++ b/src/app/services/graphite/gfunc.js @@ -86,6 +86,13 @@ function (_) { category: categories.Calculate, }); + addFuncDef({ + name: 'group', + params: optionalSeriesRefArgs, + defaultParams: ['#A', '#B'], + category: categories.Combine, + }); + addFuncDef({ name: 'sumSeries', shortName: 'sum', diff --git a/src/favicon.ico b/src/favicon.ico deleted file mode 100644 index 23174fc9623..00000000000 Binary files a/src/favicon.ico and /dev/null differ diff --git a/src/index.html b/src/index.html index bf3a2179363..1c99649d8b7 100644 --- a/src/index.html +++ b/src/index.html @@ -9,7 +9,7 @@ Grafana - +