refactoring

This commit is contained in:
frankknoll
2023-04-14 11:46:40 +02:00
parent 16ff49fd4e
commit 963f60dc5a
5 changed files with 12 additions and 9 deletions

View File

@@ -14,7 +14,8 @@ class AdverseReactionReportsChartView {
this.#chart = new Chart(
this.#canvas,
{
type: 'doughnut',
// FK-TODO: use a Polar Area Chart ('polarArea') or bar chart
type: 'bar',
data: this.#getData(ADRDescr),
options: this.#getOptions()
});