app/java/src/main/resources/templates/index.html [85:127]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - line_col = "#8e39a7" const data = { labels: ['Chasing', 'Climbing', 'Eating', 'Foraging', 'Running'], datasets: [ { label: 'Squirrels', data: points, fill: true, backgroundColor: line_col + "42", borderColor: line_col, pointBackgroundColor: line_col, pointBorderColor: '#fff', pointHoverBackgroundColor: '#fff', pointHoverBorderColor: line_col, } ] }; const config = { type: 'radar', data: data, options: { plugins: { legend: { display: false } }, elements: { line: { borderWidth: 3 } }, }, }; const ctx = document.getElementById('chart_canvas'); new Chart(ctx, config);