Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
F
flot
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HS-public
flot
Commits
d60f0d47
Commit
d60f0d47
authored
May 13, 2011
by
Ole Laursen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Previous commit missed some changes, oops
parent
f6cebd3f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
NEWS.txt
NEWS.txt
+7
-1
jquery.flot.js
jquery.flot.js
+10
-1
No files found.
NEWS.txt
View file @
d60f0d47
...
@@ -17,6 +17,9 @@ Changes:
...
@@ -17,6 +17,9 @@ Changes:
- Canvas text support for labels (sponsored by YCharts.com).
- Canvas text support for labels (sponsored by YCharts.com).
- Support for setting the interval between redraws of the overlay
canvas with redrawOverlayInterval (suggested in issue 185).
Bug fixes
Bug fixes
- Fix problem with null values and pie plugin (patch by gcruxifix,
- Fix problem with null values and pie plugin (patch by gcruxifix,
...
@@ -25,7 +28,10 @@ Bug fixes
...
@@ -25,7 +28,10 @@ Bug fixes
kaarlenkaski, issue 348).
kaarlenkaski, issue 348).
- Fix axis box calculations so the boxes include the outermost part of
- Fix axis box calculations so the boxes include the outermost part of
the labels too.
the labels too.
- Fix problem with event clicking and hovering in IE 8 by updating
Excanvas and removing previous work-around (test case by Ara
Anjargolian).
Flot 0.7
Flot 0.7
--------
--------
...
...
jquery.flot.js
View file @
d60f0d47
...
@@ -135,6 +135,9 @@
...
@@ -135,6 +135,9 @@
autoHighlight
:
true
,
// highlight in case mouse is near
autoHighlight
:
true
,
// highlight in case mouse is near
mouseActiveRadius
:
10
// how far the mouse can be away to activate an item
mouseActiveRadius
:
10
// how far the mouse can be away to activate an item
},
},
interaction
:
{
redrawOverlayInterval
:
1000
/
60
// time between updates, -1 means in same flow
},
hooks
:
{}
hooks
:
{}
},
},
canvas
=
null
,
// the canvas for the plot itself
canvas
=
null
,
// the canvas for the plot itself
...
@@ -2432,8 +2435,14 @@
...
@@ -2432,8 +2435,14 @@
}
}
function
triggerRedrawOverlay
()
{
function
triggerRedrawOverlay
()
{
var
t
=
options
.
interaction
.
redrawOverlayInterval
;
if
(
t
==
-
1
)
{
// skip event queue
drawOverlay
();
return
;
}
if
(
!
redrawTimeout
)
if
(
!
redrawTimeout
)
redrawTimeout
=
setTimeout
(
drawOverlay
,
1000
/
60
);
redrawTimeout
=
setTimeout
(
drawOverlay
,
t
);
}
}
function
drawOverlay
()
{
function
drawOverlay
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment