How can i make an empty graph without using csv?

Now we are talking.

Look at this

 for (int i = 0; i < nPoints; i++) {
    points.add(i, 30 + 10*noise(i*0.1));
  }  

Consider

 for (int i = 1; i < 99; i+=1) {
    points.add(i, i*5 );
  }  
2 Likes