refactoring
This commit is contained in:
@@ -37,6 +37,7 @@ class AdverseReactionReportsChartView {
|
|||||||
],
|
],
|
||||||
datasets: [{
|
datasets: [{
|
||||||
// FK-TODO: refactor
|
// FK-TODO: refactor
|
||||||
|
label: ADRDescr['batchcode'],
|
||||||
data: [
|
data: [
|
||||||
ADRDescr['Deaths'],
|
ADRDescr['Deaths'],
|
||||||
ADRDescr['Disabilities'],
|
ADRDescr['Disabilities'],
|
||||||
|
|||||||
@@ -42,13 +42,7 @@ class BatchCodeDetailsView {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#displayAdverseReactionReportsChart(histoDescrs) {
|
#displayAdverseReactionReportsChart(histoDescrs) {
|
||||||
this.#adverseReactionReportsChartView.displayChart(
|
this.#adverseReactionReportsChartView.displayChart(histoDescrs);
|
||||||
{
|
|
||||||
'Adverse Reaction Reports': histoDescrs['Adverse Reaction Reports'],
|
|
||||||
'Deaths': histoDescrs['Deaths'],
|
|
||||||
'Disabilities': histoDescrs['Disabilities'],
|
|
||||||
'Life Threatening Illnesses': histoDescrs['Life Threatening Illnesses']
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#displayHistogram(histoDescr) {
|
#displayHistogram(histoDescr) {
|
||||||
|
|||||||
Reference in New Issue
Block a user