1
0
Fork 0
This repository has been archived on 2024-06-28. You can view files and clone it, but cannot push or open issues or pull requests.
Umweltdatenmessung/Webinterface/dygraphs.html

48 lines
1.5 KiB
HTML
Raw Normal View History

2014-01-17 16:23:33 +01:00
<!DOCTYPE html>
<!-- saved from url=(0053)http://lukaswiki.onpw.de/rasp/webseiten/dygraphs.html -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<script type="text/javascript" src="./dygraph-combined.js"></script><style type="text/css"></style>
<style type="text/css">
#graphdiv {
position: absolute;
left: 10px;
right: 10px;
top: 50px;
bottom: 10px;
}
</style>
</head>
<body>
<div id="graphdiv"></div>
<div id="Legende"></div>
<script type="text/javascript">
g2 = new Dygraph(
document.getElementById("graphdiv"),
"dygraph.csv", // path to CSV file
{ showRoller: true, //Möglichkeit zum Runden anzeigen
animatedZooms: true,
// dateWindow: [ Date.parse("2012/09/29 12:00:00"),Date.parse("2013/11/10 12:00:00") ], //Start- und Endzeitraum
labels: ["Zeit", "Innentemperatur 1", "Innentemperatur 2", "Außentemperatur", "Temperatur Luft", "Luftfeuchtigkeit"],
labelsDiv: document.getElementById("Legende"), //Legende in einem bestimmten DIV anzeigen
// errorBars: true //Standardabweichung (funktioniert nicht))
'Luftfeuchtigkeit': { //eigene y-Achse für Luftfeuchtigkeit
axis: {
}
},
ylabel: 'Temperatur (°C)',
y2label: 'Luftfeuchtigkeit',
// showRangeSelector: true, //Auswahlzeile anzeigen
// rangeSelectorHeight: 80
} // options
);
</script>
</body></html>