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
a2718dbe
Commit
a2718dbe
authored
Jan 26, 2013
by
David Schnur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add the Flot version to each example's footer.
parent
79c3e25f
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
101 additions
and
0 deletions
+101
-0
index.html
examples/ajax/index.html
+4
-0
index.html
examples/annotating/index.html
+4
-0
index.html
examples/axes-interacting/index.html
+4
-0
index.html
examples/axes-multiple/index.html
+3
-0
index.html
examples/axes-time-zones/index.html
+4
-0
index.html
examples/axes-time/index.html
+3
-0
index.html
examples/basic-options/index.html
+4
-0
index.html
examples/basic-usage/index.html
+4
-0
index.html
examples/categories/index.html
+3
-0
index.html
examples/image/index.html
+4
-0
index.html
examples/interacting/index.html
+4
-0
index.html
examples/navigate/index.html
+4
-0
index.html
examples/percentiles/index.html
+4
-0
index.html
examples/realtime/index.html
+4
-0
index.html
examples/resize/index.html
+4
-0
index.html
examples/selection/index.html
+4
-0
index.html
examples/series-errorbars/index.html
+4
-0
index.html
examples/series-pie/index.html
+4
-0
index.html
examples/series-toggle/index.html
+4
-0
index.html
examples/series-types/index.html
+4
-0
index.html
examples/stacking/index.html
+4
-0
index.html
examples/symbols/index.html
+4
-0
index.html
examples/threshold/index.html
+4
-0
index.html
examples/tracking/index.html
+4
-0
index.html
examples/visitors/index.html
+4
-0
index.html
examples/zooming/index.html
+4
-0
No files found.
examples/ajax/index.html
View file @
a2718dbe
...
...
@@ -111,6 +111,10 @@
setTimeout
(
fetchData
,
1000
);
});
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
examples/annotating/index.html
View file @
a2718dbe
...
...
@@ -55,6 +55,10 @@
ctx
.
lineTo
(
o
.
left
,
o
.
top
);
ctx
.
fillStyle
=
"#000"
;
ctx
.
fill
();
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
examples/axes-interacting/index.html
View file @
a2718dbe
...
...
@@ -61,6 +61,10 @@
$
(
"#click"
).
text
(
"You clicked the "
+
axis
.
direction
+
axis
.
n
+
"axis!"
)
});
});
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
examples/axes-multiple/index.html
View file @
a2718dbe
...
...
@@ -42,6 +42,9 @@
doPlot
(
$
(
this
).
text
());
});
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
examples/axes-time-zones/index.html
View file @
a2718dbe
...
...
@@ -73,6 +73,10 @@
timezone
:
"America/Chicago"
}
});
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
examples/axes-time/index.html
View file @
a2718dbe
...
...
@@ -91,6 +91,9 @@
});
});
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
examples/basic-options/index.html
View file @
a2718dbe
...
...
@@ -57,6 +57,10 @@
}
}
});
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
examples/basic-usage/index.html
View file @
a2718dbe
...
...
@@ -23,6 +23,10 @@
var
d3
=
[[
0
,
12
],
[
7
,
12
],
null
,
[
7
,
2.5
],
[
12
,
2.5
]];
$
.
plot
(
"#placeholder"
,
[
d1
,
d2
,
d3
]);
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
examples/categories/index.html
View file @
a2718dbe
...
...
@@ -28,6 +28,9 @@
}
});
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
examples/image/index.html
View file @
a2718dbe
...
...
@@ -33,6 +33,10 @@
$
.
plot
.
image
.
loadDataImages
(
data
,
options
,
function
()
{
$
.
plot
(
"#placeholder"
,
data
,
options
);
});
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
examples/interacting/index.html
View file @
a2718dbe
...
...
@@ -88,6 +88,10 @@
plot
.
highlight
(
item
.
series
,
item
.
datapoint
);
}
});
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
examples/navigate/index.html
View file @
a2718dbe
...
...
@@ -117,6 +117,10 @@
addArrow
(
"right"
,
25
,
60
,
{
left
:
100
});
addArrow
(
"up"
,
40
,
45
,
{
top
:
-
100
});
addArrow
(
"down"
,
40
,
75
,
{
top
:
100
});
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
examples/percentiles/index.html
View file @
a2718dbe
...
...
@@ -45,6 +45,10 @@
position
:
"se"
}
});
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
examples/realtime/index.html
View file @
a2718dbe
...
...
@@ -88,6 +88,10 @@
}
update
();
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
examples/resize/index.html
View file @
a2718dbe
...
...
@@ -40,6 +40,10 @@
minWidth
:
450
,
minHeight
:
250
,
});
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
examples/selection/index.html
View file @
a2718dbe
...
...
@@ -94,6 +94,10 @@
}
});
});
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
examples/series-errorbars/index.html
View file @
a2718dbe
...
...
@@ -118,6 +118,10 @@
interactive
:
true
}
});
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
examples/series-pie/index.html
View file @
a2718dbe
...
...
@@ -659,6 +659,10 @@
// Show the initial default chart
$
(
"#example-1"
).
click
();
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
// A custom label formatter used by several of the plots
...
...
examples/series-toggle/index.html
View file @
a2718dbe
...
...
@@ -86,6 +86,10 @@
}
plotAccordingToChoices
();
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
examples/series-types/index.html
View file @
a2718dbe
...
...
@@ -58,6 +58,10 @@
data
:
d6
,
lines
:
{
show
:
true
,
steps
:
true
}
}]);
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
examples/stacking/index.html
View file @
a2718dbe
...
...
@@ -64,6 +64,10 @@
steps
=
$
(
this
).
text
().
indexOf
(
"steps"
)
!=
-
1
;
plotWithOptions
();
});
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
examples/symbols/index.html
View file @
a2718dbe
...
...
@@ -44,6 +44,10 @@
hoverable
:
true
}
});
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
examples/threshold/index.html
View file @
a2718dbe
...
...
@@ -38,6 +38,10 @@
var
t
=
parseFloat
(
$
(
this
).
text
().
replace
(
"Threshold at "
,
""
));
plotWithOptions
(
t
);
});
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
examples/tracking/index.html
View file @
a2718dbe
...
...
@@ -99,6 +99,10 @@
updateLegendTimeout
=
setTimeout
(
updateLegend
,
50
);
}
});
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
examples/visitors/index.html
View file @
a2718dbe
...
...
@@ -108,6 +108,10 @@
$
(
"#overview"
).
bind
(
"plotselected"
,
function
(
event
,
ranges
)
{
plot
.
setSelection
(
ranges
);
});
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
examples/zooming/index.html
View file @
a2718dbe
...
...
@@ -111,6 +111,10 @@
$
(
"#overview"
).
bind
(
"plotselected"
,
function
(
event
,
ranges
)
{
plot
.
setSelection
(
ranges
);
});
// Add the Flot version string to the footer
$
(
"#footer"
).
prepend
(
"Flot "
+
$
.
plot
.
version
+
" – "
);
});
</script>
...
...
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