AnsweredAssumed Answered

javascript calculator - metricData specs

Question asked by lycohen on Mar 21, 2011
Latest reply on Mar 23, 2011 by lycohen
The following function in a js calculator returns a variable called metricData wich is a collection.

function getMetricRegex() {
return "Frontends\\|Apps\\|(.*):(Errors Per Interval|Responses Per Interval)";

Every calculator has , more or less, the following loop:

for(i=0; i < metricData.length -1 ; i++) }{}

The question is. Is this collection sorted or not? If so, Is it sorted by metrics name (attribute url)?Is there a way to sort it? I don't know the metricData object specs. Is the javadoc of this object available?

kind regards.