Sounds good -- I'll give it a whirl...
Announcement
Collapse
No announcement yet.
X
-
Strange bug with getNearestDrawnValue
We're in the process of evaluating a migration of our charting to SmartGWT pro.
We've followed the examples of dzarras, but discovered a bug with getNearestDrawnValue(): whenever the last CellRecord to be added to the graph doesn't have a value for the last x-index the getNearestDrawnValue() call breaks down and the facetValueMap ALWAYS contains the name of the last record and the highest x-value (the largest x-coordinate, which this record doesn't have a value for).
The attached screenshot may be a bit blurry - but it shows that no matter which point (on any graph) is clicked or hovered on the result is series2 (the green 2nd series and the last to be added) and id49 (last x-index value on the graph).
The workaround is of course to inspect the list of CellRecord's and add one with a value for the highest x-index as the last one!!
...just thought you wanted to know about this bug ;)
Comment
Comment