forked from wezm/wezm.net
Working time series temperature plot
This commit is contained in:
parent
dcc9338a23
commit
fa34d3eeb9
1 changed files with 12 additions and 1 deletions
|
@ -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);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue