user replaceable function to return the labels array
Usage
function () (view source)
// if the labels array was not specified directly, then see if <li> children werevar labels = this.labels;
if(!labels.length){// for markup creation, labels are specified as child elements
labels = dojo.query("> li", this.srcNodeRef).map(function(node){return String(node.innerHTML);
});
}this.srcNodeRef.innerHTML = '';
// if the labels were not specified directly and not as <li> children, then calculate numeric labelsif(!labels.length&&this.count>1){var start = this.minimum;
var inc = (this.maximum - start)/(this.count-1);
for(var i=0; i <this.count; i++){
labels.push((i<this.numericMargin||i>=(this.count-this.numericMargin))? '' : dojo.number.format(start, this.constraints));
start += inc;
}}return labels;