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

adds piechart component #1130

Closed
wants to merge 1 commit into from
Closed

adds piechart component #1130

wants to merge 1 commit into from

Conversation

Snorre98
Copy link
Contributor

This PR adds a pie chart component. It takes data in the form of a list containing objects with label and value. It is possible to hover over the sectors to view the label and value, but this information is also displayed under the chart.

The colors of the sectors are hard-coded. In cases where there are more data-entries than colors the colors will be reused.

Closes #1107

@Snorre98 Snorre98 requested review from snorrekr and hei98 May 19, 2024 08:59
@Snorre98 Snorre98 self-assigned this May 19, 2024
@Snorre98 Snorre98 requested a review from robines as a code owner May 19, 2024 08:59
@Snorre98 Snorre98 linked an issue May 19, 2024 that may be closed by this pull request
@Snorre98
Copy link
Contributor Author

Closes because there I created a PR for BarChart, PieChart and LineChart

@Snorre98 Snorre98 closed this May 21, 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

Successfully merging this pull request may close these issues.

Piechart component
1 participant