client/splunk.ui.charting.js
function(url, options) {
            url = this.make_url(url);
            if (options) url = url + '?' + this.propToQueryString(options);
            return url;
        }
function(url, options) {
            url = this.make_url(url);
            if (options) url = url + '?' + this.propToQueryString(options);
            return url;
        }
function ( url , options ) { url = this . make_url ( url ) ; if ( options ) url = url + '?' + this . propToQueryString ( options ) ; return url ; }
Given a path and a dictionary of options, builds a qualified query string.

@param uri {String} required; path to endpoint. eg. "search/jobs"
@param options {Object} key / value par of query params eg. {'foo': 'bar'}
Given a path and a dictionary of options builds a qualified query string .