client/splunk.ui.charting.js
function(uri, options, windowObj, focus) {
            uri = this.make_full_url(uri, options);
            if (!windowObj) windowObj = window;
            windowObj.document.location = uri;
            if (focus && windowObj.focus) windowObj.focus();
            return;
        }
function(uri, options, windowObj, focus) {
            uri = this.make_full_url(uri, options);
            if (!windowObj) windowObj = window;
            windowObj.document.location = uri;
            if (focus && windowObj.focus) windowObj.focus();
            return;
        }
function ( uri , options , windowObj , focus ) { uri = this . make_full_url ( uri , options ) ; if ( ! windowObj ) windowObj = window ; windowObj . document . location = uri ; if ( focus && windowObj . focus ) windowObj . focus ( ) ; return ; }
Redirects user to a new page.

@param uri {String} required
@param options {Object} containing parameters like:
sid => attaches optional sid in valid format
s => attaches optional saved search name
q => attaches optional search string in valid format

Example:
util.redirect_to('app/core/search', {
'sid' : 1234,
'foo' : 'bar'
});

redirects to 'splunk/app/core/search?sid=1234&foo=bar'
@param windowObj {Window Object} an optional window object to target the location change
@param focus {Boolean} if true, focus is called on windowObj
Redirects user to a new page .