|
|
|
|
hw2 Buglist
Bug 1: TimeSeriesGraph.addPoint: reverses the sense of connectTheDots
change :
if (connectTheDots && prevPoint != null) {
canvas.add(new Line(xPos, scale(prevPoint), xPos, yPos, getColor()));
} else {
canvas.add(new Line(xPos-1, yPos, xPos, yPos, getColor()));
}
to:
if (connectTheDots && prevPoint != null) {
canvas.add(new Line(xPos-1, scale(prevPoint), xPos, yPos, getColor())); }
else {
canvas.add(new Line(xPos, yPos, xPos, yPos, getColor()));
}
|
 |
Department of Computer Science & Engineering
University of Washington
[comments to cse143-webmaster]
|
|