You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the "steps:true" option, the extra data points that are apparently added in order properly draw the chart with steps are erroneously treated as normal/legitimate data points. Specifically, they are hoverable and clickable when they should not be, thus providing false information when tooltips or click actions are implemented.
Example screenshot attached. The data series only includes the point (14:10, 3), but Flot also adds the point (14:10, 4), which is false data. Not only is incorrect information conveyed in the tooltip depending on where the user hovers, but this chart is part of a master-detail relationship -- clicking on a data point retrieves and displays record details below. By clicking on the (extra) data point (14:10,4), a user would expect to see 4 records displayed when there are only 3.
Possible solution: extra data points added by Flot for drawing purposes could be specially flagged so they are not treated as part of the data series and are not afforded the same attributes as legitimate data points (such as hoverable and clickable, others?).
Original author: Feldhac...@gmail.com (November 09, 2011 14:45:29)
When using the "steps:true" option, the extra data points that are apparently added in order properly draw the chart with steps are erroneously treated as normal/legitimate data points. Specifically, they are hoverable and clickable when they should not be, thus providing false information when tooltips or click actions are implemented.
Flot v0.7, all browsers.
Similar to issue #258.
Example screenshot attached. The data series only includes the point (14:10, 3), but Flot also adds the point (14:10, 4), which is false data. Not only is incorrect information conveyed in the tooltip depending on where the user hovers, but this chart is part of a master-detail relationship -- clicking on a data point retrieves and displays record details below. By clicking on the (extra) data point (14:10,4), a user would expect to see 4 records displayed when there are only 3.
Possible solution: extra data points added by Flot for drawing purposes could be specially flagged so they are not treated as part of the data series and are not afforded the same attributes as legitimate data points (such as hoverable and clickable, others?).
Original issue: http://code.google.com/p/flot/issues/detail?id=628
The text was updated successfully, but these errors were encountered: