( canvas, config )
| 2 | |
| 3 | export class Graph{ |
| 4 | constructor( canvas, config ){ |
| 5 | this.canvas = canvas; |
| 6 | this.config = config; |
| 7 | this.context = canvas.getContext( '2d' ); |
| 8 | } |
| 9 | |
| 10 | drawBg(){ |
| 11 | let x = this.canvas.width * this.config.yAxis; |
nothing calls this directly
no outgoing calls
no test coverage detected