public Number getY(int i) {
   return series.getValue(i);
 }
 public int size() {
   return series.size();
 }
 public Number getX(int i) {
   return series.getTimestamp(i);
 }