Skip to content

How to get rid of the extra spacing at the chart's left/ride side? #1952

Description

@ManuelRauber

Hi,

I'm using the example you provided, bar_chart_sample1. When putting the chart in a SizedBox(width: 300, height: 300) and making the chart's background color red, there is spacing at the left and right side (see the yellow markers):

Image

I have not found anything to get of that, so the chart just occupies the space it requires.

Is there any property I've overlooked?

Using alignment: BarChartAlignment.spaceBetween, is not an option, because I want to define the groupSpacing.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions