displayHeading()
This commit is contained in:
@@ -24,6 +24,7 @@ class HistogramView {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#displayHistogramViewForHistoDescrs(histoDescrs) {
|
#displayHistogramViewForHistoDescrs(histoDescrs) {
|
||||||
|
this.#displayHeading(histoDescrs.batchcode);
|
||||||
const chartWithSlider = UIUtils.instantiateTemplate('template-chartWithSlider');
|
const chartWithSlider = UIUtils.instantiateTemplate('template-chartWithSlider');
|
||||||
const histogramChartView = new HistogramChartView(chartWithSlider.querySelector("canvas"));
|
const histogramChartView = new HistogramChartView(chartWithSlider.querySelector("canvas"));
|
||||||
this.#displaySelectBatchcodeCombination(histoDescrs.histograms, histogramChartView, chartWithSlider);
|
this.#displaySelectBatchcodeCombination(histoDescrs.histograms, histogramChartView, chartWithSlider);
|
||||||
@@ -31,6 +32,12 @@ class HistogramView {
|
|||||||
this.#displayHistogram(histoDescrs.histograms[0], histogramChartView, chartWithSlider);
|
this.#displayHistogram(histoDescrs.histograms[0], histogramChartView, chartWithSlider);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#displayHeading(batchcode) {
|
||||||
|
const h1 = document.createElement("h3");
|
||||||
|
h1.appendChild(document.createTextNode(`Batch Code Combinations containing ${batchcode} and associated Frequencies of reported Symptoms`));
|
||||||
|
this.#uiContainer.appendChild(h1);
|
||||||
|
}
|
||||||
|
|
||||||
#displaySelectBatchcodeCombination(histograms, histogramChartView, chartWithSlider) {
|
#displaySelectBatchcodeCombination(histograms, histogramChartView, chartWithSlider) {
|
||||||
const selectBatchcodeCombination =
|
const selectBatchcodeCombination =
|
||||||
BatchcodeCombinationSelection.getSelectBatchcodeCombination(
|
BatchcodeCombinationSelection.getSelectBatchcodeCombination(
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ jupyter notebook
|
|||||||
FK-FIXME:
|
FK-FIXME:
|
||||||
|
|
||||||
FK-TODO:
|
FK-TODO:
|
||||||
|
- Histogramme auch speziell für die einzelnen Länder berechnen und anzeigen.
|
||||||
|
|
||||||
anacron job:
|
anacron job:
|
||||||
sudo cp src/intensivstationen_howbadismybatch.sh /etc/cron.daily/intensivstationen_howbadismybatch
|
sudo cp src/intensivstationen_howbadismybatch.sh /etc/cron.daily/intensivstationen_howbadismybatch
|
||||||
|
|||||||
Reference in New Issue
Block a user