Commit fe4bef6f authored by olau@iola.dk's avatar olau@iola.dk

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
parent a7747bef
......@@ -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),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment