adding slider to MedianOfFreeBedsByKreisChartView

This commit is contained in:
frankknoll
2022-03-20 17:36:26 +01:00
parent 771e921126
commit ae5701310c
4 changed files with 36 additions and 14 deletions

View File

@@ -21,6 +21,11 @@ class MedianOfFreeBedsByKreisChartView {
});
}
setData(data) {
this.#chart.config.data.datasets[0].data = data;
this.#chart.update();
}
#getData(data, label) {
return {
datasets: [