Merge branch 'main' into pages
This commit is contained in:
@@ -33,7 +33,7 @@ class MedianOfFreeBedsByKreisChartView {
|
|||||||
label: label,
|
label: label,
|
||||||
data: data,
|
data: data,
|
||||||
parsing: {
|
parsing: {
|
||||||
yAxisKey: 'median_free_beds_in_percent'
|
xAxisKey: 'median_free_beds_in_percent'
|
||||||
},
|
},
|
||||||
backgroundColor: 'rgba(0, 255, 0, 1)'
|
backgroundColor: 'rgba(0, 255, 0, 1)'
|
||||||
}
|
}
|
||||||
@@ -43,6 +43,7 @@ class MedianOfFreeBedsByKreisChartView {
|
|||||||
|
|
||||||
#getOptions(label) {
|
#getOptions(label) {
|
||||||
return {
|
return {
|
||||||
|
indexAxis: 'y',
|
||||||
plugins: {
|
plugins: {
|
||||||
title: {
|
title: {
|
||||||
display: true,
|
display: true,
|
||||||
@@ -56,16 +57,16 @@ class MedianOfFreeBedsByKreisChartView {
|
|||||||
},
|
},
|
||||||
responsive: true,
|
responsive: true,
|
||||||
scales: {
|
scales: {
|
||||||
x: {
|
y: {
|
||||||
title: {
|
title: {
|
||||||
display: true,
|
display: true,
|
||||||
text: 'Landkreis'
|
text: 'Landkreis'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
y: UIUtils.getPercentageScale(label)
|
x: UIUtils.getPercentageScale(label)
|
||||||
},
|
},
|
||||||
parsing: {
|
parsing: {
|
||||||
xAxisKey: 'Kreis'
|
yAxisKey: 'Kreis'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* adapted from https: //codepo8.github.io/css-fork-on-github-ribbon/ */
|
/* adapted from https://codepo8.github.io/css-fork-on-github-ribbon/ */
|
||||||
|
|
||||||
#forkongithub a {
|
#forkongithub a {
|
||||||
background: #000;
|
background: #000;
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
top: auto;
|
top: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width:800px) {
|
/*@media screen and (min-width:800px) {
|
||||||
#forkongithub {
|
#forkongithub {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: block;
|
display: block;
|
||||||
@@ -60,4 +60,4 @@
|
|||||||
-o-transform: rotate(45deg);
|
-o-transform: rotate(45deg);
|
||||||
box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.8);
|
box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.8);
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
@@ -4903,4 +4903,8 @@ table thead .checkbox.radio { margin-top:-7px;margin-top:-21px; }
|
|||||||
.dataTables_wrapper>.row {
|
.dataTables_wrapper>.row {
|
||||||
overflow: auto !important;
|
overflow: auto !important;
|
||||||
/*prevent datatables overflowing its container*/
|
/*prevent datatables overflowing its container*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.noUi-target {
|
||||||
|
height: 300px;
|
||||||
|
}
|
||||||
File diff suppressed because one or more lines are too long
@@ -72,6 +72,7 @@ function createSlider(sliderElement, range, onUpdate) {
|
|||||||
connect: true,
|
connect: true,
|
||||||
range: range,
|
range: range,
|
||||||
step: 1,
|
step: 1,
|
||||||
|
orientation: 'vertical'
|
||||||
});
|
});
|
||||||
sliderElement.noUiSlider.on('update', onUpdate);
|
sliderElement.noUiSlider.on('update', onUpdate);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user