List<AbstractSeries> toReturn = new ArrayList<AbstractSeries>();
JavaScriptObject nativePeers = _getSeries();
if (nativePeers != null) {
int size = JsoHelper.getArrayLength(nativePeers);
for (int i = 0; i < size; i++) {
AbstractSeries serie = AbstractSeries.create(JsoHelper
.getValueFromJavaScriptObjectArray(nativePeers, i));
toReturn.add(serie);
}
}
return toReturn;