@ -111,6 +111,10 @@
setTimeout(fetchData, 1000);
});
// Add the Flot version string to the footer
$("#footer").prepend("Flot " + $.plot.version + " – ");
</script>
@ -55,6 +55,10 @@
ctx.lineTo(o.left, o.top);
ctx.fillStyle = "#000";
ctx.fill();
@ -61,6 +61,10 @@
$("#click").text("You clicked the " + axis.direction + axis.n + "axis!")
@ -42,6 +42,9 @@
doPlot($(this).text());
@ -73,6 +73,10 @@
timezone: "America/Chicago"
}
@ -91,6 +91,9 @@
@ -57,6 +57,10 @@
@ -23,6 +23,10 @@
var d3 = [[0, 12], [7, 12], null, [7, 2.5], [12, 2.5]];
$.plot("#placeholder", [ d1, d2, d3 ]);
@ -28,6 +28,9 @@
@ -33,6 +33,10 @@
$.plot.image.loadDataImages(data, options, function () {
$.plot("#placeholder", data, options);
@ -88,6 +88,10 @@
plot.highlight(item.series, item.datapoint);
@ -117,6 +117,10 @@
addArrow("right", 25, 60, { left: 100 });
addArrow("up", 40, 45, { top: -100 });
addArrow("down", 40, 75, { top: 100 });
@ -45,6 +45,10 @@
position: "se"
update();
@ -40,6 +40,10 @@
minWidth: 450,
minHeight: 250,
@ -94,6 +94,10 @@
@ -118,6 +118,10 @@
interactive: true
@ -659,6 +659,10 @@
// Show the initial default chart
$("#example-1").click();
// A custom label formatter used by several of the plots
@ -86,6 +86,10 @@
plotAccordingToChoices();
@ -58,6 +58,10 @@
data: d6,
lines: { show: true, steps: true }
}]);
@ -64,6 +64,10 @@
steps = $(this).text().indexOf("steps") != -1;
plotWithOptions();
@ -44,6 +44,10 @@
hoverable: true
@ -38,6 +38,10 @@
var t = parseFloat($(this).text().replace("Threshold at ", ""));
plotWithOptions(t);
@ -99,6 +99,10 @@
updateLegendTimeout = setTimeout(updateLegend, 50);
@ -108,6 +108,10 @@
$("#overview").bind("plotselected", function (event, ranges) {
plot.setSelection(ranges);