48 lines
1.2 KiB
HTML
48 lines
1.2 KiB
HTML
|
<html>
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<script type="text/javascript" src="../../javascript/dygraph-combined.js"></script>
|
||
|
<script type="text/javascript"
|
||
|
src="dygraph-combined.js"></script>
|
||
|
<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"),
|
||
|
"10000.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", "LOAD", "Zufall"],
|
||
|
labelsDiv: document.getElementById("Legende"), //Legende in einem bestimmten DIV anzeigen
|
||
|
// errorBars: true //Standardabweichung (funktioniert nicht))
|
||
|
'Zufall': { //eigene y-Achse für Zufall
|
||
|
axis: {
|
||
|
}
|
||
|
},
|
||
|
ylabel: 'LOAD',
|
||
|
y2label: 'Zufall',
|
||
|
// showRangeSelector: true, //Auswahlzeile anzeigen
|
||
|
// rangeSelectorHeight: 80
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
} // options
|
||
|
);
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|