in AzureCT/ServerSide/DisplayAvailability.js [457:487]
LineChart.prototype.drawLine = function (data, color, width) {
var context = this.context;
context.save();
this.transformContext();
context.lineWidth = width;
context.strokeStyle = color;
context.fillStyle = color;
context.beginPath();
context.moveTo(data[0].x + 20, data[0].y * this.scaleY);
for (var n = 0; n < data.length; n++) {
var point = data[n];
// draw segment
context.lineTo(point.x + 20, point.y * this.scaleY);
context.stroke();
context.closePath();
context.beginPath();
if (data[n].z == "False") { context.fillStyle = "red"; };
context.arc(point.x + 20, point.y * this.scaleY, this.pointRadius, 0, 2 * Math.PI, false);
context.fill();
context.closePath();
if (data[n].z == "False") { context.fillStyle = color; };
// position for next segment
context.beginPath();
context.moveTo(point.x + 20, point.y * this.scaleY);
}
context.restore();
};