Commit 91e0ffd
add pie chart layout to language card (anuraghazra#2099)
* add pie chart layout to language card
* resolve failing top-lang card tests
* scale down pie chart
* update readme.md
* Update readme.md
Co-authored-by: Rick Staa <rick.staa@outlook.com>
* style: format code
* update donut layout to be created without dependencies
* minor update
* style: format readme
* resolve failing tests
* refactor: clean up code and add extra tests
This commit cleans up the pie chart generation code and adds additional
tests.
* feat: improve pie chart positioning
* rename layout pie to donut
* add animation to donut layout
* refactor: rename pie and doughnut to donut
* feat: decrease donus animation delay
---------
Co-authored-by: rickstaa <rick.staa@outlook.com>1 parent f78d196 commit 91e0ffd
File tree
5 files changed
+588
-159
lines changed- src/cards
- tests
5 files changed
+588
-159
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
426 | 434 | | |
427 | 435 | | |
428 | 436 | | |
| |||
439 | 447 | | |
440 | 448 | | |
441 | 449 | | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
442 | 454 | | |
443 | 455 | | |
444 | 456 | | |
| |||
0 commit comments