marcomachadosantos / gwt-chronoscope

Automatically exported from code.google.com/p/gwt-chronoscope
GNU Lesser General Public License v2.1
0 stars 0 forks source link

one point #67

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In chronoscope/client/render/ZoomIntervals.java line 42 there's this test:
  if (timeStart >= timeEnd) {  throw new IllegalArgumentException

but there are instances where someone might start with one point and we might 
as well display the 
point with some default white space around it.  A solution similar to the flat 
line issue is probably 
good enough.

Original issue reported on code.google.com by socon...@gmail.com on 13 Sep 2008 at 12:12

GoogleCodeExporter commented 8 years ago
r354: Updated various classes to tolerate a single point.  Chart at least 
doesn't blow up when fed a dataset with 1 
point, however, the point is not actually rendered yet.

Original comment by chadtaka...@gmail.com on 22 Sep 2008 at 9:59

GoogleCodeExporter commented 8 years ago
Closing this issue, as one-point datasets no longer break the chronoscope 
chart.  A more general issue (Issue 
#99) has been logged, which deals with the fact that 0-datapoint datasets are 
currently not allowed, nor are 
charts having no datasets allowed.

Original comment by chadtaka...@gmail.com on 1 Dec 2008 at 9:17