continue;
}
if (limitPointFactor == 1) {
element = it.next();
AbstractGraphPanelChartElement elt = (AbstractGraphPanelChartElement) element.getValue();
//not compatible with factor != 1, ie cannot be used if limit nb of point is selected.
if (chartSettings.getHideNonRepValLimit() > 0) {
while (!elt.isPointRepresentative(chartSettings.getHideNonRepValLimit()) && it.hasNext()) {
element = it.next();
elt = (AbstractGraphPanelChartElement) element.getValue();
}
if (!elt.isPointRepresentative(chartSettings.getHideNonRepValLimit())) {
break;
}
}
calcPointX = element.getKey().doubleValue();
calcPointY = elt.getValue();
} else {
calcPointX = 0;
calcPointY = 0;
int nbPointProcessed = 0;
for (int i = 0; i < limitPointFactor; i++) {