diff --git a/src/main/resources/templates/goal_view.html b/src/main/resources/templates/goal_view.html index 786d4ff..a29710b 100644 --- a/src/main/resources/templates/goal_view.html +++ b/src/main/resources/templates/goal_view.html @@ -54,74 +54,46 @@ const myChart = new Chart(myCt, { - type: 'bar', - data: { - labels: labels, - datasets: [ { label: '達成率', - data: achievementRates, - backgroundColor: 'rgba(54, 162, 235, 0.5)', - borderColor: 'rgba(54, 162, 235, 1)', - borderWidth: 1 } ] }, - options: { - responsive: true, - maintainAspectRatio: false, - scales: { - y: { - beginAtZero: true, - max: 100, - ticks: { - callback: function (value) { return value + '%'; } - } - } - } - } - }); -