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