Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(react-chart): move point coordinates calculations specifics …
…down to the pointComponent (#1753) BREAKING CHANGES: Previously, `pointComponent` of `BarSeries` and `PieSeries` accepted precalculated fields (`width` and `d`, respectively). Now, `pointComponent` accepts fields that provide raw data for calculation. This makes `pointComponent` more flexible as the `width` and `d` fields can now be calculated the way you need. The following substitutions took place: - `width` => `barWidth` and `maxBarWidth` - `d` => `innerRadius`, `outerRadius`, `maxRadius`, `startAngle`, and `endAngle`
- Loading branch information
1 parent
c5ca5f4
commit fde7756
Showing
20 changed files
with
278 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.