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

Pie chart #1115

Merged
merged 6 commits into from
Jan 12, 2024
Merged

Pie chart #1115

merged 6 commits into from
Jan 12, 2024

Conversation

buberdds
Copy link
Contributor

@buberdds buberdds commented Dec 21, 2023

Needed for Consensus work.

Cards with mocked data
Screenshot from 2024-01-03 16-10-58

Screenshot from 2024-01-04 10-47-04

Copy link

github-actions bot commented Dec 21, 2023

Deployed to Cloudflare Pages

Latest commit: 08b06fc55f312b919723122b1c3ea91cfc08d0ac
Status:✅ Deploy successful!
Preview URL: https://b6082316.oasis-explorer.pages.dev

@buberdds buberdds changed the title Mz/pie chart Pie chart Dec 21, 2023
@buberdds buberdds force-pushed the mz/pieChart branch 8 times, most recently from 9cc07ca to 3184b1f Compare January 4, 2024 10:27
@buberdds buberdds marked this pull request as ready for review January 4, 2024 10:31
}

const PieChartCmp = <T extends object>({ compact, data, dataKey, formatters }: PieChartProps<T>) => {
const [activeIndex, setActiveIndex] = useState<number>()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I'd rather set active by label)

@buberdds buberdds merged commit af263ee into master Jan 12, 2024
8 checks passed
@buberdds buberdds deleted the mz/pieChart branch January 12, 2024 10:29
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

Successfully merging this pull request may close these issues.

2 participants