google / charts

https://pub.dev/packages/charts_flutter
Apache License 2.0
2.8k stars 1.2k forks source link

Change bar margin/padding between each bar #750

Open LukasP94 opened 2 years ago

LukasP94 commented 2 years ago

Hi,

I would like to have bars more close to each other like on this image it is somehow possible? I spend hours with searching and trying but nothing helps.

Screenshot 2022-03-16 at 14 16 35

My current situation is like:

Screenshot 2022-03-16 at 14 19 01

Thank you for help.

OnesWYong commented 2 years ago

Hi,

I would like to have bars more close to each other like on this image it is somehow possible? I spend hours with searching and trying but nothing helps.

Screenshot 2022-03-16 at 14 16 35

My current situation is like: Screenshot 2022-03-16 at 14 19 01

Thank you for help.

defaultRenderer: charts.BarRendererConfig(
        groupingType: charts.BarGroupingType.stacked,
        strokeWidthPx: 0,
        stackedBarPaddingPx: 0,
      ),