mirror of
https://github.com/wezm/wezm.net.git
synced 2024-12-19 02:39:54 +00:00
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