refactoring
This commit is contained in:
@@ -126,7 +126,7 @@ class BatchCodeTableInitializer {
|
|||||||
#getBarChartDescription(barChartDescriptions, batchcode) {
|
#getBarChartDescription(barChartDescriptions, batchcode) {
|
||||||
const barChartDescription = barChartDescriptions.barChartDescriptions[batchcode];
|
const barChartDescription = barChartDescriptions.barChartDescriptions[batchcode];
|
||||||
barChartDescription.batchcode = batchcode;
|
barChartDescription.batchcode = batchcode;
|
||||||
barChartDescription.dateRange = barChartDescriptions.dateRange;
|
barChartDescription['dateRange guessed'] = barChartDescriptions['dateRange guessed'];
|
||||||
return barChartDescription;
|
return barChartDescription;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ class BatchcodeByCountryBarChart {
|
|||||||
data: barChartDescription["frequencies before deletion"]
|
data: barChartDescription["frequencies before deletion"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: `frequencies guessed ${this.#dateRange2str(barChartDescription.dateRange)}`,
|
label: `frequencies guessed ${this.#dateRange2str(barChartDescription['dateRange guessed'])}`,
|
||||||
data: barChartDescription["frequencies guessed"]
|
data: barChartDescription["frequencies guessed"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"dateRange": {
|
"dateRange guessed": {
|
||||||
"start": "02.03.2023",
|
"start": "02.03.2023",
|
||||||
"end": "09.06.2023"
|
"end": "09.06.2023"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user