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
e48d0662
Commit
e48d0662
authored
Mar 05, 2014
by
Michael Hausl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pan trigger extended to contain information if the dragging has ended or
not
parent
0b031061
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
jquery.flot.navigate.js
src/plugins/jquery.flot.navigate.js
+4
-2
No files found.
src/plugins/jquery.flot.navigate.js
View file @
e48d0662
...
...
@@ -139,7 +139,8 @@ can set the default in the options.
panTimeout
=
setTimeout
(
function
()
{
plot
.
pan
({
left
:
prevPageX
-
e
.
pageX
,
top
:
prevPageY
-
e
.
pageY
});
top
:
prevPageY
-
e
.
pageY
,
dragEnded
:
false
});
prevPageX
=
e
.
pageX
;
prevPageY
=
e
.
pageY
;
...
...
@@ -155,7 +156,8 @@ can set the default in the options.
plot
.
getPlaceholder
().
css
(
"cursor"
,
prevCursor
);
plot
.
pan
({
left
:
prevPageX
-
e
.
pageX
,
top
:
prevPageY
-
e
.
pageY
});
top
:
prevPageY
-
e
.
pageY
,
dragEnded
:
true
,
});
}
function
bindEvents
(
plot
,
eventHolder
)
{
...
...
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