Achsenbeschriftungen
This commit is contained in:
1 parent
142046b1c6
commit
23bec87af6
4 files changed
+63
-54
No files matched your search
@@ -13,12 +13,12 @@
|
||||
@section('main')
|
||||
<article class="header" style="grid-area: chart3;">
|
||||
<header>
|
||||
<h2>Auslastung aller Mietobjekte über Gesamte Zeit</h2>
|
||||
<h2>Auslastung aller Mietobjekte über gesamten beobachteten Zeitraum</h2>
|
||||
<button popovertarget="pop1">
|
||||
<span>Erklärungen zum Diagramm</span>
|
||||
</button>
|
||||
<div popover id="pop1">
|
||||
<h2>Auslastung aller Mietobjekte über Gesamte Zeit</h2>
|
||||
<h2>Auslastung aller Mietobjekte über gesamten beobachteten Zeitraum</h2>
|
||||
<p>
|
||||
Das Diagramm gibt eine Übersicht, wie die Auslastung von Mietobjekten am Datum des Scrapings waren. Dazu wird für jedes Mietobjekt die durchschnittliche Verfügbarkeit ermittelt.
|
||||
</p>
|
||||
|
||||
@@ -148,7 +148,7 @@ const cCapacityMonthlyOptions = {
|
||||
xAxis: {
|
||||
type: 'value',
|
||||
max: 100,
|
||||
name: 'Auslastung in %',
|
||||
name: 'Verfügbarkeit in %',
|
||||
nameLocation: 'center',
|
||||
nameGap: 25,
|
||||
nameTextStyle: {
|
||||
@@ -197,7 +197,7 @@ const cCapacityDailyOptions = {
|
||||
xAxis: {
|
||||
type: 'value',
|
||||
max: 100,
|
||||
name: 'Auslastung in %',
|
||||
name: 'Verfügbarkeit in %',
|
||||
nameLocation: 'center',
|
||||
nameGap: 25,
|
||||
nameTextStyle: {
|
||||
@@ -233,7 +233,7 @@ const cCapacity = echarts.init(chartCapacity);
|
||||
const cCapacityOptions = {
|
||||
color: sharedOptions.basic.color,
|
||||
legend: {
|
||||
data: ['Auslastung Property', 'Auslastung {{ $base['region_name'] }}', 'Auslastung alle Regionen']
|
||||
show: true
|
||||
},
|
||||
tooltip: {
|
||||
trigger: 'axis',
|
||||
@@ -261,7 +261,7 @@ const cCapacityOptions = {
|
||||
type: 'value',
|
||||
min: 0,
|
||||
max: 100,
|
||||
name: 'Auslastung in Prozent',
|
||||
name: 'Verfügbarkeit in %',
|
||||
nameLocation: 'center',
|
||||
nameGap: 38,
|
||||
nameTextStyle: {
|
||||
@@ -270,19 +270,19 @@ const cCapacityOptions = {
|
||||
},
|
||||
series: [
|
||||
{
|
||||
name: 'Auslastung Property',
|
||||
name: 'Verfügbarkeit Mietobjekt',
|
||||
type: 'line',
|
||||
symbolSize: 7,
|
||||
data: {!! json_encode($propertyCapacities['capacities']) !!}
|
||||
},
|
||||
{
|
||||
name: 'Auslastung {{ $base['region_name'] }}',
|
||||
name: 'Verfügbarkeit {{ $base['region_name'] }}',
|
||||
type: 'line',
|
||||
symbolSize: 7,
|
||||
data: {!! json_encode($regionCapacities[0]) !!}
|
||||
},
|
||||
{
|
||||
name: 'Auslastung alle Regionen',
|
||||
name: 'Verfügbarkeit alle Regionen',
|
||||
type: 'line',
|
||||
symbolSize: 7,
|
||||
data: {!! json_encode($regionCapacities[1]) !!}
|
||||
@@ -330,6 +330,9 @@ const cCalendarOptions = {
|
||||
right: 10,
|
||||
bottom: '65%',
|
||||
left: 50,
|
||||
dayLabel: {
|
||||
fontSize: 10
|
||||
}
|
||||
},
|
||||
{
|
||||
orient: 'horizontal',
|
||||
@@ -338,6 +341,9 @@ const cCalendarOptions = {
|
||||
right: 10,
|
||||
bottom: '33%',
|
||||
left: 50,
|
||||
dayLabel: {
|
||||
fontSize: 10
|
||||
}
|
||||
},
|
||||
{
|
||||
orient: 'horizontal',
|
||||
@@ -346,6 +352,9 @@ const cCalendarOptions = {
|
||||
right: 10,
|
||||
bottom: '1%',
|
||||
left: 50,
|
||||
dayLabel: {
|
||||
fontSize: 10
|
||||
}
|
||||
}
|
||||
],
|
||||
options: [
|
||||
|
||||
@@ -19,20 +19,20 @@
|
||||
</article>
|
||||
<article class="header" style="grid-area: chart6;">
|
||||
<header>
|
||||
<h2 id="prediction-title">Gleitender Mittelwert für die Auslastung der Region</h2>
|
||||
<h2 id="prediction-title">Gleitender Mittelwert für die Verfügbarkeit der Region</h2>
|
||||
</header>
|
||||
<div id="chart-prediction"></div>
|
||||
</article>
|
||||
<article class="header" style="grid-area: chart1;">
|
||||
<header>
|
||||
<h2 id="belegung-title">Auslastung aller Mietobjekte über Gesamte Zeit der Region</h2>
|
||||
<h2 id="belegung-title">Verfügbarkeit aller Mietobjekte über Gesamte Zeit der Region</h2>
|
||||
</header>
|
||||
<div id="chart-heatmap"></div>
|
||||
</article>
|
||||
<article class="header" style="grid-area: chart3;">
|
||||
<header>
|
||||
<h2>
|
||||
Auslastung Region nach Monat am <span class="date">{{ $startDate }}</span>
|
||||
Verfügbarkeit Region nach Monat am <span class="date">{{ $startDate }}</span>
|
||||
</h2>
|
||||
</header>
|
||||
<div id="chart-capacity-monthly">
|
||||
@@ -41,12 +41,12 @@
|
||||
<article class="header" style="grid-area: chart2;">
|
||||
<header>
|
||||
<h2>
|
||||
Entwicklung der Auslastung
|
||||
Entwicklung der Verfügbarkeit
|
||||
</h2>
|
||||
<button popovertarget="chart-capacity-popover"></button>
|
||||
<div id="chart-capacity-popover" popover>
|
||||
<h2>Erkläung zum Diagramm «Entwicklung der Auslastung»</h2>
|
||||
<p>Das Liniendiagramm zeigt die Auslastung von Regionen. 100 % = die Region ist kaum ausgelastet; 100 % der Mietobjekte sind verfügbar. 0 % = Die Region ist komplett ausgelastet; Es stehen keine Mietangebote zur Verfügung.</p>
|
||||
<h2>Erkläung zum Diagramm «Entwicklung der Verfügbarkeit»</h2>
|
||||
<p>Das Liniendiagramm zeigt die Verfügbarkeit von Regionen. 100 % = die Region ist kaum ausgelastet; 100 % der Mietobjekte sind verfügbar. 0 % = Die Region ist komplett ausgelastet; Es stehen keine Mietangebote zur Verfügung.</p>
|
||||
</div>
|
||||
</header>
|
||||
<div id="chart-capacity"></div>
|
||||
@@ -54,7 +54,7 @@
|
||||
<article class="header" style="grid-area: chart4;">
|
||||
<header>
|
||||
<h2>
|
||||
Auslastung Wochentage am <span class="date">{{ $startDate }}</span>
|
||||
Verfügbarkeit Wochentage am <span class="date">{{ $startDate }}</span>
|
||||
</h2>
|
||||
</header>
|
||||
<div id="chart-capacity-daily">
|
||||
@@ -120,7 +120,7 @@ const cCapacityOptions = {
|
||||
type: 'value',
|
||||
min: 0,
|
||||
max: 100,
|
||||
name: 'Auslastung in %',
|
||||
name: 'Verfügbarkeit in %',
|
||||
nameLocation: 'center',
|
||||
nameGap: 38,
|
||||
nameTextStyle: {
|
||||
@@ -128,13 +128,13 @@ const cCapacityOptions = {
|
||||
}
|
||||
},
|
||||
series: [{
|
||||
name: 'Auslastung alle Regionen',
|
||||
name: 'Verfügbarkeit alle Regionen',
|
||||
type: 'line',
|
||||
symbolSize: 7,
|
||||
data: {!! json_encode($regionCapacities['all']['capacities']) !!}
|
||||
},
|
||||
{
|
||||
name: 'Auslastung Region',
|
||||
name: 'Verfügbarkeit Region',
|
||||
type: 'line',
|
||||
symbolSize: 7,
|
||||
data: {!! json_encode($regionCapacities['region']['capacities']) !!}
|
||||
@@ -161,7 +161,7 @@ const cCapacityMonthlyOptions = {
|
||||
xAxis: {
|
||||
type: 'value',
|
||||
max: 100,
|
||||
name: 'Auslastung in %',
|
||||
name: 'Verfügbarkeit in %',
|
||||
nameLocation: 'center',
|
||||
nameGap: 25,
|
||||
nameTextStyle: {
|
||||
@@ -211,7 +211,7 @@ const cCapacityDailyOptions = {
|
||||
xAxis: {
|
||||
type: 'value',
|
||||
max: 100,
|
||||
name: 'Auslastung in %',
|
||||
name: 'Verfügbarkeit in %',
|
||||
nameLocation: 'center',
|
||||
nameGap: 25,
|
||||
nameTextStyle: {
|
||||
@@ -277,7 +277,7 @@ const cPredictionOptions = {
|
||||
type: 'value',
|
||||
min: 0,
|
||||
max: 100,
|
||||
name: 'Auslastung in %',
|
||||
name: 'Verfügbarkeit in %',
|
||||
nameLocation: 'center',
|
||||
nameGap: 38,
|
||||
nameTextStyle: {
|
||||
@@ -430,7 +430,7 @@ const cHeatmapOptions = {
|
||||
},
|
||||
series: [
|
||||
{
|
||||
name: 'Auslastung',
|
||||
name: 'Verfügbarkeit',
|
||||
type: 'heatmap',
|
||||
blurSize: 0,
|
||||
data: {!! json_encode($regionPropertiesCapacities['values']) !!},
|
||||
@@ -439,7 +439,7 @@ const cHeatmapOptions = {
|
||||
},
|
||||
tooltip: {
|
||||
formatter: (data) => {
|
||||
return `Kurzzeitmietobjekte-ID: ${data.data[1]}<br />Datum Scraping: ${data.data[0]}<br/>Auslastung: ${data.data[2].toFixed(2)} %`
|
||||
return `Kurzzeitmietobjekte-ID: ${data.data[1]}<br />Datum Scraping: ${data.data[0]}<br/>Verfügbarkeit: ${data.data[2].toFixed(2)} %`
|
||||
},
|
||||
},
|
||||
emphasis: {
|
||||
|
||||
Reference in new issue
Block a user