Browse Source

fix(graph): fixes broken hide xaxis option

closes #5024
bergquist 9 năm trước cách đây
mục cha
commit
6849bfae16

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

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