diff --git a/components/charts/pops.tsx b/components/charts/pops.tsx index 2491841..28cdc6c 100644 --- a/components/charts/pops.tsx +++ b/components/charts/pops.tsx @@ -54,7 +54,7 @@ export const PopChart = () => { const config = { - type: 'PIE', + type: 'pie', data: data, options: { plugins: { diff --git a/components/charts/radar.tsx b/components/charts/radar.tsx index 43704e8..5603b58 100644 --- a/components/charts/radar.tsx +++ b/components/charts/radar.tsx @@ -97,7 +97,10 @@ export const RadarChart = (props: { weighted: boolean }) => { callbacks: { label: (ctx: any) => (`${ctx.dataset.label}: ${ctx.dataset.data[ctx.dataIndex]} ${props.weighted ? "Points" : "Picks"}`) } - } + }, + datalabels: { + display: false, + }, }, legend: { display: true }, elements: {