( x, y )
| 343 | } |
| 344 | |
| 345 | convertPathToScreen( x, y ){ |
| 346 | const xOrg = this.canvas.width * this.config.yAxis; |
| 347 | const yOrg = this.canvas.height - this.canvas.height * this.config.xAxis; |
| 348 | const scale = (this.canvas.width * 0.95 - xOrg)/ this.config.xMax; |
| 349 | return { x: x * scale + xOrg, y: y * scale + yOrg }; |
| 350 | } |
| 351 | |
| 352 | scalePathValueToScreen( value ){ |
| 353 | const xOrg = this.canvas.width * this.config.yAxis; |
no outgoing calls
no test coverage detected