getValueFromCoords = function(x, y, processedValue) {
    const obj = this;

    let value = null;

    if (x != null && y != null) {
        if ((obj.records[y] && obj.records[y][x]) && processedValue) {
            value = obj.records[y][x].element.innerHTML;
        } else {
            if (obj.options.data[y] && obj.options.data[y][x] != 'undefined') {
                value = obj.options.data[y][x];
            }
        }
    }

    return value;
}
Get the value from a coords

@param int x
@param int y
@return string value