@@ -10,15 +10,15 @@ class ControlRenderer extends ScatterplotRenderer {
10
10
this . chartType = 'CONTROL' ;
11
11
this . avgMovingRange = avgMovingRange ;
12
12
this . dotClass = 'control-dot' ;
13
+ this . yAxisLabel = 'Days' ;
13
14
}
14
15
15
16
setupEventBus ( eventBus ) {
16
17
this . eventBus = eventBus ;
17
18
this . eventBus ?. addEventListener ( 'change-time-range-moving-range' , this . updateBrushSelection . bind ( this ) ) ;
18
19
}
19
20
20
- renderGraph ( graphElementSelector , timeScaleSelector ) {
21
- console . log ( timeScaleSelector ) ;
21
+ renderGraph ( graphElementSelector ) {
22
22
this . drawSvg ( graphElementSelector ) ;
23
23
this . drawAxes ( ) ;
24
24
this . drawArea ( ) ;
@@ -28,11 +28,6 @@ class ControlRenderer extends ScatterplotRenderer {
28
28
this . drawHorizontalLine ( this . y , this . topLimit , 'purple' , 'top' ) ;
29
29
this . drawHorizontalLine ( this . y , this . avgLeadTime , 'orange' , 'center' ) ;
30
30
this . bottomLimit > 0 && this . drawHorizontalLine ( this . y , this . bottomLimit , 'purple' , 'bottom' ) ;
31
- console . log ( 'avgLeadTime' , this . avgLeadTime ) ;
32
- console . log ( 'avgMovingRange' , this . avgMovingRange ) ;
33
- console . log ( 'top' , this . topLimit ) ;
34
- console . log ( 'bottom' , this . bottomLimit ) ;
35
- this . drawAxesLabels ( this . svg , 'Time' , 'Days' ) ;
36
31
}
37
32
38
33
drawScatterplot ( chartArea , data , x , y ) {
0 commit comments