( value )
| 350 | } |
| 351 | |
| 352 | scalePathValueToScreen( value ){ |
| 353 | const xOrg = this.canvas.width * this.config.yAxis; |
| 354 | const scale = (this.canvas.width * 0.95 - xOrg)/ this.config.xMax; |
| 355 | return value * scale; |
| 356 | } |
| 357 | |
| 358 | render( nodes, activeNode, activeCtrl, ghosts ){ |
| 359 | this.context.clearRect( 0, 0, this.canvas.width, this.canvas.height ); |
no outgoing calls
no test coverage detected