fix size components

This commit is contained in:
Tatiana Nikolaeva 2025-06-02 23:15:01 +05:00
parent 08f827267d
commit e6e2f68eb0
32 changed files with 238 additions and 175 deletions

View file

@ -15,7 +15,6 @@ ChartJS.register(
CategoryScale, LinearScale, BarElement, Title, ChartDataLabels, annotationPlugin
);
// Типы для данных
interface QuestionStats {
questionText: string;
totalAnswers: number;
@ -133,7 +132,7 @@ export const Results = () => {
xValue: i,
yValue: opt.percentage + 5,
content: `${opt.percentage}%`,
font: { size: 16, weight: 400 },
font: { size: 1, weight: 400 },
color: '#000'
}))
}
@ -148,7 +147,7 @@ export const Results = () => {
ticks: {
color: '#000000',
font: {
size: 16,
size: 12,
weight: 400
}
},
@ -178,7 +177,7 @@ export const Results = () => {
labels: {
color: '#000000',
font: {
size: 18,
size: 12,
weight: 500
}
}
@ -191,7 +190,7 @@ export const Results = () => {
datalabels: {
formatter: (value) => `${value}%`,
color: '#000',
font: { weight: 400, size: 16 }
font: { weight: 400, size: 12 }
}
},
animation: { animateRotate: true }