diff --git a/addons/survey/static/src/js/survey_result.js b/addons/survey/static/src/js/survey_result.js index c835e7e46e3..fe626ad8457 100644 --- a/addons/survey/static/src/js/survey_result.js +++ b/addons/survey/static/src/js/survey_result.js @@ -153,6 +153,7 @@ publicWidget.registry.SurveyResultChart = publicWidget.Widget.extend({ }], yAxes: [{ ticks: { + beginAtZero: true, precision: 0, }, }], @@ -203,7 +204,8 @@ publicWidget.registry.SurveyResultChart = publicWidget.Widget.extend({ }], yAxes: [{ ticks: { - precision: 0, + beginAtZero: true, + precision: 0, }, }], }, @@ -341,6 +343,7 @@ publicWidget.registry.SurveyResultChart = publicWidget.Widget.extend({ display: false, }, ticks: { + beginAtZero: true, precision: 0, callback: function (label) { return label + '%'; @@ -348,7 +351,7 @@ publicWidget.registry.SurveyResultChart = publicWidget.Widget.extend({ suggestedMin: 0, suggestedMax: 100, maxTicksLimit: 5, - stepSize: 25 + stepSize: 25, }, }], },