From cc5c3a886d5fa6292004512a01db72152b79ebfc Mon Sep 17 00:00:00 2001 From: frankknoll Date: Wed, 7 Jun 2023 17:54:48 +0200 Subject: [PATCH] setting "precision: 0" for y axis of AdverseReactionReportsChartView --- docs/AdverseReactionReportsChartView.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/AdverseReactionReportsChartView.js b/docs/AdverseReactionReportsChartView.js index 13be8ec6d1e..49785245164 100644 --- a/docs/AdverseReactionReportsChartView.js +++ b/docs/AdverseReactionReportsChartView.js @@ -60,6 +60,17 @@ class AdverseReactionReportsChartView { title: { display: true, position: 'top' + }, + scales: { + y: { + ticks: { + precision: 0 + }, + title: { + display: true, + text: 'Frequency' + } + } } }; }