Просмотр исходного кода

Graph: fix for legend show/hide toggle, after hiding requires new data fetch to show, Fixes #1393

Torkel Ödegaard 11 лет назад
Родитель
Сommit
c0353ab5d8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/app/panels/graph/axisEditor.html

+ 1 - 1
src/app/panels/graph/axisEditor.html

@@ -150,7 +150,7 @@
 				<li class="tight-form-item">
 					Show&nbsp;
 					<input class="cr1" id="panel.legend.show" type="checkbox"
-					ng-model="panel.legend.show" ng-checked="panel.legend.show" ng-change="render()">
+					ng-model="panel.legend.show" ng-checked="panel.legend.show" ng-change="get_data()">
 					<label for="panel.legend.show" class="cr1"></label>
 				</li>
 				<li class="tight-form-item">