Load the first AJAX series by default.

We don't want users to think the example is broken when they first load
it.
pull/1/head
David Schnur 13 years ago
parent 840937cf33
commit bcce4a48b5

@ -112,6 +112,10 @@
setTimeout(fetchData, 1000);
});
// Load the first series by default, so we don't have an empty plot
$("button.fetchSeries:first").click();
// Add the Flot version string to the footer
$("#footer").prepend("Flot " + $.plot.version + " – ");

Loading…
Cancel
Save