var ww, wh;
var hmax, hfact;
var tmin, tmax, tfact;
- var xzero = 36, yzero = 24;
+ var xzero = 40, yzero = 24;
var cold_d = [], hot_d = [];
function showdate(utime) {
var inc, inc2, first, x, lb;
if (scl < 2) { inc = 0.1; inc2 = 0.2; }
- else if (scl < 5) { inc = 0.1; inc2 = 0.2; }
+ else if (scl < 5) { inc = 0.1; inc2 = 0.5; }
else { inc = 0.5; inc2 = 1; }
inc *= ord;
inc2 *= ord;
ctx.stroke();
ctx.fillStyle = "black";
- ctx.font = "bold 12px Courier";
+ ctx.font = "bold 16px Courier";
ctx.textAlign = "left";
ctx.fillText(showdate(tmin), px(tmin), py(0) + 20);
ctx.textAlign = "right";
ctx.stroke();
ctx.fillStyle = "black";
- ctx.font = "bold 12px Courier";
+ ctx.font = "bold 16px Courier";
ctx.textAlign = "right";
ctx.fillText(0, px(tmin) - 6, py(0));
for (i = 0; comb[1][i]; i++) {
ctx.fillText(comb[1][i].toFixed(1), px(tmin) - 6, py(comb[1][i]));
}
ctx.textAlign = "left";
- ctx.fillText("l/min", px(tmin) + 4, py(hmax) + 8);
+ ctx.fillText("l/min", px(tmin) + 4, py(hmax) + 12);
}
/* @ updates global var `hmax` */