Commit 6e61700
authored
feat: text improvements (#524)
BREAKING CHANGE: renames in `Partition` charts— `Layers`: `fillLabel.formatter`->`fillLabel.valueFormatter`; type `FillLabel`-> `FillLabelConfig`
Non-breaking changes:
* feat: the values in linked labels are rendered, just like they have been in the sectors (formerly, the value could optionally be put in the link label accessor itself)
* feat: font styling is possible separately for values: `valueFormatter` configs
* test: opacity decrease example; coloring examples
* feat: hierarchical data (`parent`, `sortIndex`) is made available to accessors (see stories, helpful with eg. coloring)
* refactor: tighter types; other code improvements1 parent 1111671 commit 6e61700
42 files changed
Lines changed: 608 additions & 255 deletions
File tree
- .playground
- integration/tests/__image_snapshots__
- src
- chart_types/partition_chart
- layout
- config
- types
- utils
- viewmodel
- renderer/canvas
- specs
- stories
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments