Commits

John Louis del Rosario committed 80f2091

updates

  • Participants
  • Parent commits d5d3905

Comments (0)

Files changed (1)

File ExpenseRenderer.pde

       int year = expenses[i].getDate().getYear();
       int month = expenses[i].getDate().getMonth();
       int day = expenses[i].getDate().getDay();
-      float x = 20 + ((month) + 5) + (day);
-      float y = height - expenses[i].getAmount() / height - 20;
-      fill(255);
+      float x = 30 + (month * 10) + (day * 10);
+      float y = height - 20 - expenses[i].getAmount();
       ellipse(x, y, 5, 5);
     }
   }