diff --git a/docs/AdverseReactionReportsChartView.js b/docs/AdverseReactionReportsChartView.js index d214eebd8c5..13be8ec6d1e 100644 --- a/docs/AdverseReactionReportsChartView.js +++ b/docs/AdverseReactionReportsChartView.js @@ -14,8 +14,8 @@ class AdverseReactionReportsChartView { this.#chart = new Chart( this.#canvas, { - // FK-TODO: use a Polar Area Chart ('polarArea') or bar chart type: 'bar', + plugins: [ChartDataLabels], data: this.#getData(ADRDescr), options: this.#getOptions() }); @@ -51,6 +51,12 @@ class AdverseReactionReportsChartView { #getOptions() { return { + plugins: { + datalabels: { + anchor: 'end', + align: 'top' + } + }, title: { display: true, position: 'top' diff --git a/docs/GoogleAnalytics.js b/docs/GoogleAnalytics.js index caa69c93840..72efd7787cd 100644 --- a/docs/GoogleAnalytics.js +++ b/docs/GoogleAnalytics.js @@ -1,11 +1,12 @@ class GoogleAnalytics { static click_batchcode(batchcode) { - gtag( - 'event', - 'click_batchcode', - { - 'batchcode': batchcode - }); + // FK-TODO: reinsert + // gtag( + // 'event', + // 'click_batchcode', + // { + // 'batchcode': batchcode + // }); } } diff --git a/docs/batchCodeTable.html b/docs/batchCodeTable.html index be37361c13f..1a96d86c62a 100644 --- a/docs/batchCodeTable.html +++ b/docs/batchCodeTable.html @@ -9,14 +9,15 @@