Fix bug with tooltip in interacting.html, this makes the tooltip much smoother (fix by bdkahn)

git-svn-id: https://flot.googlecode.com/svn/trunk@274 1e0a6537-2640-0410-bfb7-f154510ff394
pull/1/head
olau@iola.dk 16 years ago
parent a7747bef23
commit fe4bef6fb1

@ -102,6 +102,8 @@ Bug fixes:
arrays, patch by vpapp1).
- Fix errors in JSON in examples so they work with jQuery 1.4.2
(fix reported by honestbleeps, issue 357).
- Fix bug with tooltip in interacting.html, this makes the tooltip
much smoother (fix by bdkahn).
Flot 0.6

@ -62,8 +62,8 @@ $(function () {
if ($("#enableTooltip:checked").length > 0) {
if (item) {
if (previousPoint != item.datapoint) {
previousPoint = item.datapoint;
if (previousPoint != item.dataIndex) {
previousPoint = item.dataIndex;
$("#tooltip").remove();
var x = item.datapoint[0].toFixed(2),

Loading…
Cancel
Save