Explorar o código

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

Torkel Ödegaard %!s(int64=11) %!d(string=hai) anos
pai
achega
c0353ab5d8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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">
 				<li class="tight-form-item">
 					Show&nbsp;
 					Show&nbsp;
 					<input class="cr1" id="panel.legend.show" type="checkbox"
 					<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>
 					<label for="panel.legend.show" class="cr1"></label>
 				</li>
 				</li>
 				<li class="tight-form-item">
 				<li class="tight-form-item">