瀏覽代碼

Merge branch 'master' of github.com:grafana/grafana

Torkel Ödegaard 8 年之前
父節點
當前提交
9451e6af39
共有 3 個文件被更改,包括 10 次插入13 次删除
  1. 2 5
      CHANGELOG.md
  2. 4 4
      public/app/plugins/datasource/graphite/gfunc.js
  3. 4 4
      public/sass/components/_panel_graph.scss

+ 2 - 5
CHANGELOG.md

@@ -9,6 +9,8 @@
 
 # 4.5.0 (unreleased)
 
+# 4.5.0-beta1 (2017-09-05)
+
 ## New Features
 
 * **Table panel**: Render cell values as links that can have an url template that uses variables from current table row. [#3754](https://github.com/grafana/grafana/issues/3754)
@@ -36,11 +38,6 @@
 
 * **Modals**: Maintain scroll position after opening/leaving modal [#8800](https://github.com/grafana/grafana/issues/8800)
 * **Templating**: You cannot select data source variables as data source for other template variables [#7510](https://github.com/grafana/grafana/issues/7510)
-
-# 4.4.4 (unreleased)
-
-## Bug Fixes
-
 * **MySQL/Postgres**: Fix for max_idle_conn option default which was wrongly set to zero which does not mean unlimited but means zero, which in practice kind of disables connection pooling, which is not good. Fixes [#8513](https://github.com/grafana/grafana/issues/8513)
 
 # 4.4.3 (2017-08-07)

+ 4 - 4
public/app/plugins/datasource/graphite/gfunc.js

@@ -139,8 +139,8 @@ function (_, $) {
   addFuncDef({
     name: 'percentileOfSeries',
     category: categories.Combine,
-    params: [{ name: "n", type: "int" }, { name: "interpolate", type: "select", options: ["true", "false"] }],
-    defaultParams: [95, "false"]
+    params: [{ name: 'n', type: 'int' }, { name: 'interpolate', type: 'boolean', options: ['true', 'false'] }],
+    defaultParams: [95, 'false']
   });
 
   addFuncDef({
@@ -261,8 +261,8 @@ function (_, $) {
   addFuncDef({
     name: 'sortByName',
     category: categories.Special,
-    params: [{ name: "natural", type: "select", options: ["true", "false"], optional: true }],
-    defaultParams: ["false"]
+    params: [{ name: 'natural', type: 'boolean', options: ['true', 'false'], optional: true }],
+    defaultParams: ['false']
   });
 
   addFuncDef({

+ 4 - 4
public/sass/components/_panel_graph.scss

@@ -181,7 +181,7 @@
   }
 
   .graph-legend {
-    margin: 0;
+    margin: 0 0 0 1rem;
   }
 
   .graph-legend-series {
@@ -321,7 +321,7 @@
 
 .left-yaxis-label {
   top: 50%;
-  left: 0;
+  left: 2px;
   transform: translateX(-50%) translateY(-50%) rotate(-90deg);
   // this is needed for phantomsjs 2.1
   -webkit-transform: translateX(-50%) translateY(-50%) rotate(-90deg);
@@ -329,7 +329,7 @@
 
 .right-yaxis-label {
   top: 50%;
-  right: 0;
+  right: 2px;
   transform: translateX(50%) translateY(-50%) rotate(90deg);
   // this is needed for phantomsjs 2.1
   -webkit-transform: translateX(50%) translateY(-50%) rotate(90deg);
@@ -339,7 +339,7 @@
   display: inline-block;
   color: $text-color;
   font-size: $font-size-sm;
-  position: relative;
+  position: absolute;
   text-align: center;
   font-size: 12px;
 }