File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
public/app/plugins/panel/graph Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export class ThresholdControls {
23
23
</div>
24
24
<div class="alert-handle">
25
25
<i class="icon-gf icon-gf-${ type } alert-icon-${ type } "></i>
26
- ${ op } ${ value }
26
+ ${ value }
27
27
</div>` ;
28
28
}
29
29
@@ -59,7 +59,7 @@ export class ThresholdControls {
59
59
// calculate graph level
60
60
var graphValue = plot . c2p ( { left : 0 , top : posTop } ) . y ;
61
61
graphValue = parseInt ( graphValue . toFixed ( 0 ) ) ;
62
- threshold . value = graphValue ;
62
+ threshold . from = graphValue ;
63
63
64
64
var valueCanvasPos = plot . p2c ( { x : 0 , y : graphValue } ) ;
65
65
@@ -90,7 +90,7 @@ export class ThresholdControls {
90
90
91
91
renderHandle ( type , model , defaultHandleTopPos ) {
92
92
var handleElem = this . placeholder . find ( `.alert-handle-wrapper--${ type } ` ) ;
93
- var value = model . value ;
93
+ var value = model . from ;
94
94
var valueStr = value ;
95
95
var handleTopPos = 0 ;
96
96
You can’t perform that action at this time.
0 commit comments