Line 218 in Chart.cs *should* read:
if ( ( rangeX.IsInside( (float) data[i, 0] ) )
&& ( rangeY.IsInside( (float) data[i, 1] ) )
//&&
// ( rangeX.IsInside( (float) data[i - 1, 0] ) )
//&& ( rangeY.IsInside( (float) data[i - 1, 1] ) )
)
Note the commented out parts (containing the "i-1" index). The loop goes over
i=0 (which is correct for the Dots case).
Btw, you can easily see whether the Chart is working or not by running your
Approximation sample.
Original issue reported on code.google.com by 2453...@googlemail.com on 26 Aug 2011 at 8:00
Original issue reported on code.google.com by
2453...@googlemail.com
on 26 Aug 2011 at 8:00