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
4be713f8
Commit
4be713f8
authored
Apr 12, 2013
by
David Schnur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed trailing whitespace.
parent
d3b2f0c1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
jquery.colorhelpers.js
jquery.colorhelpers.js
+3
-3
jquery.flot.image.js
jquery.flot.image.js
+1
-1
jquery.flot.selection.js
jquery.flot.selection.js
+1
-1
jquery.flot.stack.js
jquery.flot.stack.js
+1
-1
jquery.flot.time.js
jquery.flot.time.js
+2
-2
No files found.
jquery.colorhelpers.js
View file @
4be713f8
/* Plugin for jQuery for working with colors.
*
*
* Version 1.1.
*
*
* Inspiration from jQuery color animation plugin by John Resig.
*
* Released under the MIT license by Ole Laursen, October 2009.
...
...
@@ -18,7 +18,7 @@
*
* V. 1.1: Fix error handling so e.g. parsing an empty string does
* produce a color rather than just crashing.
*/
*/
(
function
(
$
)
{
$
.
color
=
{};
...
...
jquery.flot.image.js
View file @
4be713f8
...
...
@@ -148,7 +148,7 @@ Google Maps).
y1
=
tmp
;
}
// if the anchor is at the center of the pixel, expand the
// if the anchor is at the center of the pixel, expand the
// image by 1/2 pixel in each direction
if
(
series
.
images
.
anchor
==
"center"
)
{
tmp
=
0.5
*
(
x2
-
x1
)
/
(
img
.
width
-
1
);
...
...
jquery.flot.selection.js
View file @
4be713f8
...
...
@@ -164,7 +164,7 @@ The plugin allso adds the following methods to the plot object:
var
r
=
{},
c1
=
selection
.
first
,
c2
=
selection
.
second
;
$
.
each
(
plot
.
getAxes
(),
function
(
name
,
axis
)
{
if
(
axis
.
used
)
{
var
p1
=
axis
.
c2p
(
c1
[
axis
.
direction
]),
p2
=
axis
.
c2p
(
c2
[
axis
.
direction
]);
var
p1
=
axis
.
c2p
(
c1
[
axis
.
direction
]),
p2
=
axis
.
c2p
(
c2
[
axis
.
direction
]);
r
[
name
]
=
{
from
:
Math
.
min
(
p1
,
p2
),
to
:
Math
.
max
(
p1
,
p2
)
};
}
});
...
...
jquery.flot.stack.js
View file @
4be713f8
...
...
@@ -131,7 +131,7 @@ charts or filled areas).
newpoints
.
push
(
intery
+
qy
);
for
(
m
=
2
;
m
<
ps
;
++
m
)
newpoints
.
push
(
points
[
i
+
m
]);
bottom
=
qy
;
bottom
=
qy
;
}
j
+=
otherps
;
...
...
jquery.flot.time.js
View file @
4be713f8
...
...
@@ -175,9 +175,9 @@ API.txt for details.
var
baseSpec
=
[
[
1
,
"second"
],
[
2
,
"second"
],
[
5
,
"second"
],
[
10
,
"second"
],
[
30
,
"second"
],
[
30
,
"second"
],
[
1
,
"minute"
],
[
2
,
"minute"
],
[
5
,
"minute"
],
[
10
,
"minute"
],
[
30
,
"minute"
],
[
30
,
"minute"
],
[
1
,
"hour"
],
[
2
,
"hour"
],
[
4
,
"hour"
],
[
8
,
"hour"
],
[
12
,
"hour"
],
[
1
,
"day"
],
[
2
,
"day"
],
[
3
,
"day"
],
...
...
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