LineChart.prototype.transformContext = function()

in AzureCT/ServerSide/DisplayAvailability.js [489:498]


LineChart.prototype.transformContext = function () {
    var context = this.context;

    // move context to center of canvas
    this.context.translate(this.x, this.y + this.height);

    // invert the y scale so that that increments
    // as you move upwards
    context.scale(1, -1);
};