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

StackedColumnSeries not stacking properly #27

Closed
Jayant2204 opened this issue Sep 17, 2019 · 1 comment
Closed

StackedColumnSeries not stacking properly #27

Jayant2204 opened this issue Sep 17, 2019 · 1 comment

Comments

@Jayant2204
Copy link

Jayant2204 commented Sep 17, 2019

I've two different series with DateTime and a double value. i'm trying to achieve Stacked Column chart stacking double value from two different series. ( This Part is done).

The issue is stacked value of second series isn't on the top and there's no option to force push them to top.

https://imgur.com/a/8TiJsQI

    return <StackedColumnSeries<PlotData, DateTime>>[
      StackedColumnSeries<PlotData, DateTime>(
        dataSource: plotDay,
        name: "Day",
        color: Colors.blue[400],
        width: 0.4,
        yValueMapper: (PlotData data, _) => data.energy,
        xValueMapper: (PlotData data, _) => data.time,
       // borderRadius: BorderRadius.circular(5),
      ),
      StackedColumnSeries<PlotData, DateTime>(
        dataSource: plotNight,
        color: Colors.brown[400],
        width: 0.4,
         name: "Night",
        borderRadius: BorderRadius.circular(5),
        yValueMapper: (PlotData data, _) => data.energy,
        xValueMapper: (PlotData data, _) => data.time,
      ),
    ];
  }
@JayavigneshwaranG
Copy link
Collaborator

Hi @Jayant2204 ,

Sorry for the inconvenience.
We are able to reproduce the reported issue and we have fixed this now. Published the fix to pub. So please use the latest version packages(1.0.0-beta.5).
Now both the series are stacked properly with the same configuration in the sample.

We are closing this issue. But you can reopen this if you face any concerns.

Thanks,
Jayavigneshwaran

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants