|
@@ -82,7 +82,7 @@ class UnitGraph extends JPanel implements MouseListener, MouseMotionListener, Co
|
|
|
arrayOfValue[i] = convertToValueY(getYValueAt((int) (i * width / (ITERATIONS - 1))));
|
|
|
}
|
|
|
}
|
|
|
- /*
|
|
|
+
|
|
|
// Draw the Vertical Lines
|
|
|
g2.setColor(new Color(240, 240, 240));
|
|
|
for (int i = 0; i < ITERATIONS; i++) {
|
|
@@ -94,7 +94,7 @@ class UnitGraph extends JPanel implements MouseListener, MouseMotionListener, Co
|
|
|
g2.drawLine(0, (i) * this.getHeight() / (ITERATIONS - 1), this.getWidth(),
|
|
|
(i) * this.getHeight() / (ITERATIONS - 1));
|
|
|
}
|
|
|
- */
|
|
|
+
|
|
|
// Draw the Lines
|
|
|
g2.setColor(Color.BLACK);
|
|
|
for (int i = 0; i < pointList.size() - 1; i++) {
|