Change expense chart colors
Update the colors of the expense chart to a green/yellow scheme.
This commit is contained in:
@@ -9,19 +9,19 @@ import { ChevronLeft, ChevronRight } from 'lucide-react';
|
|||||||
const Analytics = () => {
|
const Analytics = () => {
|
||||||
const [selectedPeriod, setSelectedPeriod] = useState('이번 달');
|
const [selectedPeriod, setSelectedPeriod] = useState('이번 달');
|
||||||
|
|
||||||
// Updated expense categories to use only the three specified categories
|
// Updated expense categories with new green and yellow color scheme
|
||||||
const expenseData = [{
|
const expenseData = [{
|
||||||
name: '식비',
|
name: '식비',
|
||||||
value: 350000,
|
value: 350000,
|
||||||
color: '#9b87f5'
|
color: '#81c784' // Green (matching neuro-income)
|
||||||
}, {
|
}, {
|
||||||
name: '생활비',
|
name: '생활비',
|
||||||
value: 650000,
|
value: 650000,
|
||||||
color: '#6e59a5'
|
color: '#AED581' // Light green
|
||||||
}, {
|
}, {
|
||||||
name: '교통비',
|
name: '교통비',
|
||||||
value: 175000,
|
value: 175000,
|
||||||
color: '#81c784'
|
color: '#FFF176' // Soft yellow
|
||||||
}];
|
}];
|
||||||
|
|
||||||
// Sample data for the monthly comparison - renamed income to budget
|
// Sample data for the monthly comparison - renamed income to budget
|
||||||
|
|||||||
Reference in New Issue
Block a user