File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 4
4
* ** Postgres** : Fixed page render crash when using postgres, fixes [ #4558 ] ( https://github.com/grafana/grafana/issues/4558 )
5
5
* ** Table panel** : Fixed table panel bug when trying to show annotations in table panel, fixes [ #4563 ] ( https://github.com/grafana/grafana/issues/4563 )
6
6
* ** App Config** : Fixed app config issue showing content of other app config, fixes [ #4575 ] ( https://github.com/grafana/grafana/issues/4575 )
7
+ * ** Graph Panel** : Fixed legend option max not updating, fixes [ #4601 ] ( https://github.com/grafana/grafana/issues/4601 )
7
8
8
9
# 3.0.0-beta2 (2016-04-04)
9
10
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ export class PanelCtrl {
46
46
47
47
$scope . $on ( "refresh" , ( ) => this . refresh ( ) ) ;
48
48
$scope . $on ( "render" , ( ) => this . render ( ) ) ;
49
+ $scope . $on ( "$destroy" , ( ) => this . events . emit ( 'panel-teardown' ) ) ;
49
50
}
50
51
51
52
init ( ) {
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ <h5 class="section-heading">Options</h5>
13
13
label ="To the right " label-class ="width-7 "
14
14
checked ="ctrl.panel.legend.rightSide " on-change ="ctrl.render() ">
15
15
</ gf-form-switch >
16
-
17
16
< div ng-if ="ctrl.panel.legend.rightSide " class ="gf-form ">
18
17
< label class ="gf-form-label width-7 "> Width</ label >
19
18
< input type ="number " class ="gf-form-input max-width-5 " placeholder ="250 " bs-tooltip ="'Set a min-width for the legend side table/block' " data-placement ="right " ng-model ="ctrl.panel.legend.sideWidth " ng-change ="ctrl.render() " ng-model-onblur >
@@ -31,7 +30,7 @@ <h5 class="section-heading">Values</h5>
31
30
32
31
< gf-form-switch class ="gf-form max-width-12 "
33
32
label ="Max " label-class ="width-6 " switch-class ="max-width-5 "
34
- checked ="ctrl.panel.legend.max " on-change ="ctrl.legendCaluesOptionChanged () ">
33
+ checked ="ctrl.panel.legend.max " on-change ="ctrl.legendValuesOptionChanged () ">
35
34
</ gf-form-switch >
36
35
</ div >
37
36
You can’t perform that action at this time.
0 commit comments