diff --git a/src/qqq/components/widgets/charts/StackedBarChart.tsx b/src/qqq/components/widgets/charts/StackedBarChart.tsx index 740559a..f949d83 100644 --- a/src/qqq/components/widgets/charts/StackedBarChart.tsx +++ b/src/qqq/components/widgets/charts/StackedBarChart.tsx @@ -51,8 +51,12 @@ export const options = { labels: { usePointStyle: true, pointStyle: "circle", - pointStyleWidth: 3, - padding: 20 + boxHeight: 8, + boxWidth: 8, + padding: 12, + font: { + size: 14 + } } } }, diff --git a/src/qqq/components/widgets/charts/piechart/PieChartConfigs.ts b/src/qqq/components/widgets/charts/piechart/PieChartConfigs.ts index 5981f76..4ae7bb0 100644 --- a/src/qqq/components/widgets/charts/piechart/PieChartConfigs.ts +++ b/src/qqq/components/widgets/charts/piechart/PieChartConfigs.ts @@ -84,8 +84,12 @@ function configs(labels: any, datasets: any) labels: { usePointStyle: true, pointStyle: "circle", - pointStyleWidth: 3, - padding: 20 + padding: 12, + boxHeight: 8, + boxWidth: 8, + font: { + size: 14 + } } }, },