EveripediaNetwork/iq-bridge-ui

Maintain constant colors with the donut chart

Closed this issue · 3 comments

Maintain constant colors with the donut chart

I was thinking about to set the colors for the donut in the local storage, but that will also lead to different colors set in the local storage for each user. Another option could be to save the colors for the top 10 stakers in a easy-to-read db. What are your thoughts on this? @0xJM @kesar

0xJM commented

I think we can consider storing the colors in a hard-coded array and then having the chart populate the colors from that

@0xJM haha that's true man. I don't know what I was thinking to get overcomplicated