capitalone / react-native-pathjs-charts

Android and iOS charts based on react-native-svg and paths-js
Apache License 2.0
879 stars 260 forks source link

How to customize the width of the bars in BarChart #194

Open ansonyao opened 7 years ago

ansonyao commented 7 years ago

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:

marzolfb commented 7 years ago

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.