Jelajahi Sumber

fix(graph): fixes broken hide xaxis option

closes #5024
bergquist 9 tahun lalu
induk
melakukan
6849bfae16
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      public/app/plugins/panel/graph/graph.js

+ 1 - 1
public/app/plugins/panel/graph/graph.js

@@ -282,7 +282,7 @@ function (angular, $, moment, _, kbn, GraphTooltip) {
 
           options.xaxis = {
             timezone: dashboard.getTimezone(),
-            show: panel['x-axis'],
+            show: panel.xaxis.show,
             mode: "time",
             min: min,
             max: max,