¿Cómo no mostrar el marcado amarillo?
Los puntos pueden permanecer, pero el efecto de desplazamiento no es necesario.
JSFiddle (si lo necesita): https://jsfiddle.net/ucs8ybLg/14/
Código:
const config = { type: 'radar', data: data, options: { elements: { line: { borderWidth: 2 } }, scales: { r: { suggestedMin: 0, suggestedMax: 10 } } }, }; const data = { labels: [ 'Problemlösung', 'Ausdauer', 'Selbstständigkeit', 'Zuverlässigkeit', 'Reflexionsfähigkeit', 'Teamwork', 'Respektvoller Umgang', 'Pflichtbewusstsein' ], datasets: [{ label: 'Schüler', data: [10, 8, 6, 7, 5, 10, 5, 6], fill: true, backgroundColor: 'rgba(255, 99, 132, 0.2)', borderColor: 'rgb(255, 99, 132)', pointBackgroundColor: 'rgb(255, 99, 132)', pointBorderColor: '#fff', pointHoverBackgroundColor: '#fff', pointHoverBorderColor: 'rgb(255, 99, 132)' }, { label: 'Lehrer', data: [8, 10, 7, 7, 3, 9, 8, 7], fill: true, backgroundColor: 'rgba(54, 162, 235, 0.2)', borderColor: 'rgb(54, 162, 235)', pointBackgroundColor: 'rgb(54, 162, 235)', pointBorderColor: '#fff', pointHoverBackgroundColor: '#fff', pointHoverBorderColor: 'rgb(54, 162, 235)' }] };Si necesitas más información solo pregunta
Muchas gracias por la ayuda :)
Puede agregar options.plugins.tooltip y configurar enabled: false Entonces, el efecto de desplazamiento está deshabilitado. más puede visitar https://www.chartjs.org/docs/latest/configuration/tooltip.html
const config = { type: 'radar', data: data, options: { elements: { line: { borderWidth: 2 } }, scales: { r: { suggestedMin: 0, suggestedMax: 10 } }, plugins: { tooltip: { enabled: false } } }, };