client/splunk.ui.charting.js
function setCategories(newCategories, doRedraw) {
				// set the categories
				axis.categories = userOptions.categories = categories = newCategories;

				// force reindexing tooltips
				each(associatedSeries, function (series) {
					series.translate();
					series.setTooltipPoints(true);
				});


				// optionally redraw
				axis.isDirty = true;

				if (pick(doRedraw, true)) {
					chart.redraw();
				}
		}
function setCategories(newCategories, doRedraw) {
				// set the categories
				axis.categories = userOptions.categories = categories = newCategories;

				// force reindexing tooltips
				each(associatedSeries, function (series) {
					series.translate();
					series.setTooltipPoints(true);
				});


				// optionally redraw
				axis.isDirty = true;

				if (pick(doRedraw, true)) {
					chart.redraw();
				}
		}
function setCategories ( newCategories , doRedraw ) { // set the categories
 axis . categories = userOptions . categories = categories = newCategories ; // force reindexing tooltips
 each ( associatedSeries , function ( series ) { series . translate ( ) ; series . setTooltipPoints ( true ) ; } ) ; // optionally redraw
 axis . isDirty = true ; if ( pick ( doRedraw , true ) ) { chart . redraw ( ) ; } }
Set new axis categories and optionally redraw
@param {Array} newCategories
@param {Boolean} doRedraw
Set new axis categories and optionally redraw