react-native-pathjs-charts icon indicating copy to clipboard operation
react-native-pathjs-charts copied to clipboard

How to customize the width of the bars in BarChart

Open ansonyao opened this issue 7 years ago • 1 comments

have already changed the data model from the example and successfully show a gap between bars. But want to make the bars look thinner. Any options to set the bar width?

Before filing an issue please ensure the following boxes are checked, if applicable:

  • [x] I have searched for existing issues
  • [x] I have provided detailed instructions that can reproduce the issue (including code and data necessary)

ansonyao avatar Sep 25 '17 21:09 ansonyao

This library is largely dependent on paths-js and that library does not have a customization option for the max bar width (I believe this issue in that project is addressing the same problem). The gutter option and chart width options are the key things that influence the width of the bar widths.

marzolfb avatar Oct 01 '17 01:10 marzolfb