Change pie chart colors

This commit is contained in:
Brandon Presley 2023-10-28 15:18:47 +13:00
parent 589efb56bd
commit b4154b336f
1 changed files with 7 additions and 8 deletions

View File

@ -12,14 +12,13 @@ export default function AppPieChart({ options }: { options: Option[] }) {
const { colors } = useTheme();
const pieChartColors = [
"#1f77b4", // Blue
"#ff7f0e", // Orange
"#2ca02c", // Green
"#d62728", // Red
"#9467bd", // Purple
"#8c564b", // Brown
"#e377c2", // Pink
"#7f7f7f", // Gray
"#FF7F50", // Coral
"#1E90FF", // Dodger Blue
"#32CD32", // Lime Green
"#BA55D3", // Medium Orchid
"#FFD700", // Gold
"#48D1CC", // Medium Turquoise
"#FF69B4", // Hot Pink
];
const data = options.map((option, index) => ({