Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate random colors for the pie chart #1

Open
Yh010 opened this issue Oct 2, 2024 · 4 comments
Open

Generate random colors for the pie chart #1

Yh010 opened this issue Oct 2, 2024 · 4 comments

Comments

@Yh010
Copy link
Owner

Yh010 commented Oct 2, 2024

As of now, we have only 5 colors

@PremveerSingh195
Copy link

at ----/goals---- route i found a pie i which only 4 colors also same in code are you talking about this

const goalData = [
{ name: "Emergency Fund", current: 5000, target: 10000, color: "#FF6384" },
{ name: "Retirement", current: 50000, target: 500000, color: "#36A2EB" },
{
name: "House Down Payment",
current: 20000,
target: 60000,
color: "#FFCE56",
},
{ name: "Vacation", current: 2000, target: 5000, color: "#4BC0C0" },
];

@Yh010
Copy link
Owner Author

Yh010 commented Nov 9, 2024

@PremveerSingh195 i am talking about this:

here i have mentioned a fixed number of colors..so need to make that dynamic

@PremveerSingh195
Copy link

hi can you help me i am unable to find pie chart in frontend ui where they located or on which route

@Yh010
Copy link
Owner Author

Yh010 commented Nov 9, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants