Dygraph.prototype.toDataCoords = function(x, y, axis) {
    return [ this.toDataXCoord(x), this.toDataYCoord(y, axis) ];
};