Wiederinstandsetzung Heatmap @stoffelmauro musste dazu etwas in der API anpassen.

This commit is contained in:
Giò Diani committed 2025-01-11 20:52:02 +01:00
1 parent 67382003ca
commit 2013d2b440
4 files changed
+28 -28

No files matched your search

+4 -4
View File
@@ -58,7 +58,7 @@ const sharedOptions = {
}
}
}
const extractionDates = {!! json_encode($growth['dates']) !!};
const extractionDates = {!! json_encode($regionPropertiesCapacities['scrapeDates']) !!};
const chartHeatmap = document.getElementById('chart-heatmap');
const cHeatmap = echarts.init(chartHeatmap);
@@ -80,7 +80,7 @@ const cHeatmapOptions = {
show: false,
name: 'Kurzzeitmietobjekt',
type: 'category',
data: {!! json_encode($heat['property_ids']) !!},
data: extractionDates,
splitArea: {
show: false
},
@@ -91,7 +91,7 @@ const cHeatmapOptions = {
yAxis: {
show: false,
type: 'category',
data: extractionDates,
data: {!! json_encode($regionPropertiesCapacities['property_ids']) !!},
splitArea: {
show: true
}
@@ -116,7 +116,7 @@ const cHeatmapOptions = {
name: 'Auslastung',
type: 'heatmap',
blurSize: 0,
data: {!! json_encode($heat['values']) !!},
data: {!! json_encode($regionPropertiesCapacities['values']) !!},
label: {
show: false
},