Skip to content

Commit

Permalink
chore: upgrade recharts, add barSize percentage
Browse files Browse the repository at this point in the history
  • Loading branch information
Coltin Kifer committed Apr 14, 2024
1 parent d69493f commit 4b135b4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"react-router-redux": "~4.0.7",
"react-router-scroll": "~0.4.1",
"react-runner": "^1.0.3",
"recharts": "^2.12.4",
"recharts": "^2.12.5",
"redux": "4.0.0",
"redux-thunk": "^2.3.0",
"rimraf": "^2.5.4",
Expand Down
2 changes: 1 addition & 1 deletion src/docs/api/Bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default {
},
{
name: 'barSize',
type: 'Number',
type: 'Number | Percentage',
defaultVal: 'undefined',
isOptional: true,
desc: {
Expand Down
4 changes: 2 additions & 2 deletions src/docs/api/BarChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default {
isOptional: true,
desc: {
'en-US':
"When syncId is provided, allows customisation of how the charts will synchronize tooltips and brushes. Using 'index' (default setting), other charts will reuse current datum's index within the data array. In cases where data does not have the same length, this might yield unexpected results. In that case use 'value' which will try to match other charts values, or a fully custom function which will receive tick, data as argument and should return an index."
"When syncId is provided, allows customisation of how the charts will synchronize tooltips and brushes. Using 'index' (default setting), other charts will reuse current datum's index within the data array. In cases where data does not have the same length, this might yield unexpected results. In that case use 'value' which will try to match other charts values, or a fully custom function which will receive tick, data as argument and should return an index.",
},
},
{
Expand Down Expand Up @@ -102,7 +102,7 @@ export default {
},
{
name: 'barSize',
type: 'Number',
type: 'Number | Percentage',
defaultVal: 'undefined',
isOptional: true,
desc: {
Expand Down

0 comments on commit 4b135b4

Please sign in to comment.