Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Column Chart Series spacing #876

Open
alessandroToninelli opened this issue Oct 25, 2024 · 0 comments
Open

Column Chart Series spacing #876

alessandroToninelli opened this issue Oct 25, 2024 · 0 comments
Labels
charts Charts component open Open and need to address

Comments

@alessandroToninelli
Copy link

Bug description

I can't reduce the space between the series of this graph. I have already increased the width to 0.9 but there is nothing to do.

Steps to reproduce

  var column = ColumnSeries<ClistatChartFokDataImport, String>(
          width: 1,
          spacing: 0.0,
          dataSource: widget.data.imports,
          isVisibleInLegend: true,
          color: clkColor[import.clk],
          xValueMapper: (datum, index) {
            var xBuffer = StringBuffer();
            if (import.date.year != null) {
              xBuffer.write(import.date.year.toString());
            }
            if (import.date.month != null) {
              var monthString =
                  DateFormat('MMMM').format(DateTime(0, import.date.month!));
              xBuffer.write(" ${monthString}");
            }

            return xBuffer.toString();
          },
          yValueMapper: (datum, index) {
            return import.imp;
          },
          name: import.clk);

Code sample

Code sample
[Add your code here]

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]
Screenshot 2024-10-25 at 18 11 04

Stack Traces

Stack Traces
[Add the Stack Traces here]

On which target platforms have you observed this bug?

macOS

Flutter Doctor output

Doctor output
[Add your output here]
@VijayakumarMariappan VijayakumarMariappan added charts Charts component open Open and need to address labels Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
charts Charts component open Open and need to address
Projects
None yet
Development

No branches or pull requests

2 participants