@@ -10,15 +10,15 @@ class ControlRenderer extends ScatterplotRenderer {
1010 this . chartType = 'CONTROL' ;
1111 this . avgMovingRange = avgMovingRange ;
1212 this . dotClass = 'control-dot' ;
13+ this . yAxisLabel = 'Days' ;
1314 }
1415
1516 setupEventBus ( eventBus ) {
1617 this . eventBus = eventBus ;
1718 this . eventBus ?. addEventListener ( 'change-time-range-moving-range' , this . updateBrushSelection . bind ( this ) ) ;
1819 }
1920
20- renderGraph ( graphElementSelector , timeScaleSelector ) {
21- console . log ( timeScaleSelector ) ;
21+ renderGraph ( graphElementSelector ) {
2222 this . drawSvg ( graphElementSelector ) ;
2323 this . drawAxes ( ) ;
2424 this . drawArea ( ) ;
@@ -28,11 +28,6 @@ class ControlRenderer extends ScatterplotRenderer {
2828 this . drawHorizontalLine ( this . y , this . topLimit , 'purple' , 'top' ) ;
2929 this . drawHorizontalLine ( this . y , this . avgLeadTime , 'orange' , 'center' ) ;
3030 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' ) ;
3631 }
3732
3833 drawScatterplot ( chartArea , data , x , y ) {
0 commit comments