setting "precision: 0" for y axis of AdverseReactionReportsChartView

This commit is contained in:
frankknoll
2023-06-07 17:54:48 +02:00
parent c4a9a781eb
commit cc5c3a886d

View File

@@ -60,6 +60,17 @@ class AdverseReactionReportsChartView {
title: {
display: true,
position: 'top'
},
scales: {
y: {
ticks: {
precision: 0
},
title: {
display: true,
text: 'Frequency'
}
}
}
};
}