John Matthews wrote:Can anyone see an obvious flaw in the example?
Index: RendererUtilities.java
--- RendererUtilities.java Remotely Modified (Based On HEAD)
+++ RendererUtilities.java Locally Modified (Based On LOCAL)
@@ -138,7 +138,7 @@
int index = 0;
// skip any items that don't need including...
double x = dataset.getXValue(series, index);
- while (index < itemCount && (x < xLow || x > xHigh)) {
+ while (index < itemCount && x < xLow) {
index++;
if (index < itemCount) {
x = dataset.getXValue(series, index);
@@ -232,7 +232,7 @@
int index = itemCount - 1;
// skip any items that don't need including...
double x = dataset.getXValue(series, index);
- while (index >= 0 && (x < xLow || x > xHigh)) {
+ while (index >= 0 && x > xHigh) {
index--;
if (index >= 0) {
x = dataset.getXValue(series, index);Return to JFreeChart - General
Users browsing this forum: Google [Bot] and 2 guests