From b8eecdd60ffddce333ee6efd7146c37695cdf2fc Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Wed, 29 Jan 2020 00:51:04 +0100 Subject: [PATCH] Improved empty data display. --- .../april/agirstatool/core/pages/chartPolarView.xhtml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/org/april/agirstatool/core/pages/chartPolarView.xhtml b/src/org/april/agirstatool/core/pages/chartPolarView.xhtml index 4761c77..a5c5422 100644 --- a/src/org/april/agirstatool/core/pages/chartPolarView.xhtml +++ b/src/org/april/agirstatool/core/pages/chartPolarView.xhtml @@ -59,7 +59,15 @@ var myChart = new Chart(ctx, { display: true, position: 'right' - } + }, + scale: + { + ticks: + { + precision: 0, + suggestedMax: 5 + } + } } });