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
38f7a8c5
Commit
38f7a8c5
authored
Feb 09, 2014
by
soenter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve the performance of large data processing(fix spaces -> tabs)
parent
b9c6359c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
12 deletions
+11
-12
index.html
examples/selection/index.html
+7
-7
index.html
examples/visitors/index.html
+4
-5
No files found.
examples/selection/index.html
View file @
38f7a8c5
...
@@ -68,13 +68,13 @@
...
@@ -68,13 +68,13 @@
if
(
zoom
)
{
if
(
zoom
)
{
$
.
each
(
plot
.
getXAxes
(),
function
(
_
,
axis
)
{
$
.
each
(
plot
.
getXAxes
(),
function
(
_
,
axis
)
{
var
opts
=
axis
.
options
;
var
opts
=
axis
.
options
;
opts
.
min
=
ranges
.
xaxis
.
from
;
opts
.
min
=
ranges
.
xaxis
.
from
;
opts
.
max
=
ranges
.
xaxis
.
to
;
opts
.
max
=
ranges
.
xaxis
.
to
;
});
});
plot
.
setupGrid
();
plot
.
setupGrid
();
plot
.
draw
();
plot
.
draw
();
plot
.
clearSelection
();
plot
.
clearSelection
();
}
}
});
});
...
...
examples/visitors/index.html
View file @
38f7a8c5
...
@@ -92,12 +92,11 @@
...
@@ -92,12 +92,11 @@
$
(
"#placeholder"
).
bind
(
"plotselected"
,
function
(
event
,
ranges
)
{
$
(
"#placeholder"
).
bind
(
"plotselected"
,
function
(
event
,
ranges
)
{
// do the zooming
// do the zooming
$
.
each
(
plot
.
getXAxes
(),
function
(
_
,
axis
)
{
$
.
each
(
plot
.
getXAxes
(),
function
(
_
,
axis
)
{
var
opts
=
axis
.
options
;
var
opts
=
axis
.
options
;
opts
.
min
=
ranges
.
xaxis
.
from
;
opts
.
min
=
ranges
.
xaxis
.
from
;
opts
.
max
=
ranges
.
xaxis
.
to
;
opts
.
max
=
ranges
.
xaxis
.
to
;
});
});
plot
.
setupGrid
();
plot
.
setupGrid
();
plot
.
draw
();
plot
.
draw
();
plot
.
clearSelection
();
plot
.
clearSelection
();
...
...
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