Improve design project 1
This commit is contained in:
parent
b158cf81ec
commit
e59f78adea
@ -4,22 +4,45 @@
|
||||
<meta charset="UTF-8">
|
||||
<title>GeoVis - Project 1</title>
|
||||
<script src="https://www.gstatic.com/charts/loader.js"></script> <!-- Google Charts-->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"> </script> <!-- Tree Maps-->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script> <!-- Tree Maps-->
|
||||
<script src="js/tree.js"></script> <!-- Tree Maps-->
|
||||
<script src="script.js"></script>
|
||||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
|
||||
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="m-5">Aufgabe 1</h1>
|
||||
<div class="container m-5">
|
||||
<div class="m-5">
|
||||
<div class="row">
|
||||
<div id="piechartYear" class="col-lg-6"></div>
|
||||
<div id="piechartMonth" class="col-lg-6"></div>
|
||||
<h1 class="col">Aufgabe 1</h1>
|
||||
</div>
|
||||
<div id="linechart"></div>
|
||||
<div class="row">
|
||||
<figure class="col-xl-6 col-sm figure border border-primary">
|
||||
<div id="piechartYear" class="pr-3"></div>
|
||||
<figcaption class="figure-caption">Kreisdiagramm 1</figcaption>
|
||||
</figure>
|
||||
<figure class="col-xl-6 col-sm figure border border-primary">
|
||||
<div id="piechartMonth"></div>
|
||||
<figcaption class="figure-caption">Kreisdiagramm 2</figcaption>
|
||||
</figure>
|
||||
</div>
|
||||
<div class="row justify-content-center">
|
||||
<figure class="col figure border border-primary">
|
||||
<div id="linechart" class=""></div>
|
||||
<figcaption class="figure-caption">Liniendiagramm</figcaption>
|
||||
</figure>
|
||||
</div>
|
||||
<div class="row justify-content-center">
|
||||
<figure class="col figure border border-primary">
|
||||
<div id="scatterchart"></div>
|
||||
<figcaption class="figure-caption">Punktdiagramm</figcaption>
|
||||
</figure>
|
||||
</div>
|
||||
<div class="row justify-content-center">
|
||||
<figure class="col figure border border-primary">
|
||||
<div id="bubblechart"></div>
|
||||
<figcaption class="figure-caption">Blasendiagramm</figcaption>
|
||||
</figure>
|
||||
</div>
|
||||
</div>
|
||||
<h1 class="m-5">Aufgabe 2</h1>
|
||||
<div id="foldermap" class="m-5"></div>
|
||||
|
@ -23,8 +23,7 @@ function drawPieChartYear() {
|
||||
chart.draw(pieChartData, {
|
||||
title: "Wärmebedarf 2012 - 2014 (in MWh)",
|
||||
colors: ["#0040ff", "#ff0000", "#155a00"],
|
||||
height: 300,
|
||||
width: 800
|
||||
height: 400
|
||||
})
|
||||
}
|
||||
|
||||
@ -42,8 +41,7 @@ function drawPieChartMonth() {
|
||||
let chart = new google.visualization.PieChart(document.getElementById("piechartMonth"))
|
||||
chart.draw(pieChartData, {
|
||||
title: "Akkumulierter Wärmebedarf 2012 - 2014 pro Monat (in MWh)",
|
||||
height: 300,
|
||||
width: 800
|
||||
height: 400
|
||||
})
|
||||
}
|
||||
|
||||
@ -64,8 +62,7 @@ function drawLineChart() {
|
||||
title: "Wärmebedarf 2012 - 2014 (in MWh)",
|
||||
colors: ["#0040ff", "#ff0000", "#155a00"],
|
||||
explorer: {},
|
||||
height: 300,
|
||||
width: 800
|
||||
height: 400
|
||||
})
|
||||
}
|
||||
|
||||
@ -89,8 +86,7 @@ function drawScatterChart() {
|
||||
vAxis: {title: "MWh"},
|
||||
hAxix: {title: "Month"},
|
||||
explorer: {},
|
||||
height: 300,
|
||||
width: 800
|
||||
height: 400
|
||||
}
|
||||
let chart = new google.charts.Scatter(document.getElementById("scatterchart"))
|
||||
chart.draw(data, google.charts.Scatter.convertOptions(options))
|
||||
@ -116,6 +112,7 @@ function drawBubbleChart() {
|
||||
|
||||
let options = {
|
||||
title: "Wärmebedarf 2012 - 2014 (in MWh)",
|
||||
height: 400,
|
||||
hAxis: {
|
||||
title: "Monat",
|
||||
ticks: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
|
||||
@ -126,8 +123,6 @@ function drawBubbleChart() {
|
||||
colors: ["#0040ff", "#ff0000", "#155a00"],
|
||||
explorer: {},
|
||||
bubble: {textStyle: {fontSize: 11}},
|
||||
height: 300,
|
||||
width: 800
|
||||
};
|
||||
|
||||
let chart = new google.visualization.BubbleChart(document.getElementById("bubblechart"));
|
||||
|
Loading…
Reference in New Issue
Block a user