|
|
@ -15,8 +15,8 @@ export class HeatMapDrawer{ |
|
|
|
private readonly height: number = null; |
|
|
|
private readonly paddingLeft: number = 150; |
|
|
|
private readonly paddingRight: number = 100; |
|
|
|
private readonly paddingTop: number = 60; |
|
|
|
private readonly paddingBottom: number = 120; |
|
|
|
private readonly paddingTop: number = 80; |
|
|
|
private readonly paddingBottom: number = 100; |
|
|
|
private colorChart: ColorChart = null; |
|
|
|
private values: any = null; |
|
|
|
|
|
|
@ -280,14 +280,14 @@ export class HeatMapDrawer{ |
|
|
|
this.canvasContext.font = "normal 25px Verdana"; |
|
|
|
this.canvasContext.fillStyle = "#000000"; |
|
|
|
let unitX = 680 |
|
|
|
this.canvasContext.fillText(unit, unitX, 60); |
|
|
|
this.canvasContext.fillText(unit, unitX, 80); |
|
|
|
} |
|
|
|
|
|
|
|
private drawResolutionName(name): void { |
|
|
|
this.canvasContext.font = "normal 35px Verdana"; |
|
|
|
this.canvasContext.fillStyle = "#000000"; |
|
|
|
let nameX = 380 |
|
|
|
this.canvasContext.fillText(name, nameX, 580) |
|
|
|
this.canvasContext.fillText(name, nameX, 60) |
|
|
|
} |
|
|
|
|
|
|
|
private drawVerticalScale(): void{ |
|
|
|