1
0
Fork 0
forked from wezm/wezm.net

Working time series temperature plot

This commit is contained in:
Wesley Moore 2010-09-21 17:51:12 +10:00
parent dcc9338a23
commit fa34d3eeb9

View file

@ -21,7 +21,18 @@ jQuery(function() {
// Populate the charts // Populate the charts
$('.temperature.chart').each(function() { $('.temperature.chart').each(function() {
var self = this; var self = this;
jQuery.plot(self, data.history, {});
var options = {
// series: {
// lines: { show: true },
// points: { show: true }
// }
xaxis: {
mode: "time"
}
};
jQuery.plot(self, data.history, options);
}); });
}); });
}); });