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

Some columns not drawn in #642

Closed
NPadrutt opened this issue Sep 23, 2022 · 1 comment
Closed

Some columns not drawn in #642

NPadrutt opened this issue Sep 23, 2022 · 1 comment

Comments

@NPadrutt
Copy link

NPadrutt commented Sep 23, 2022

Describe the bug
I noticed that not all columns are drawn once you go below 2 ColumnSeries with only one value in it.
Interesstingly the tooltip overlay is rendered correctly.

To Reproduce
Steps to reproduce the behavior:
Core for the Screenshow below:

        var statisticItems = await Mediator.Send(new GetCashFlowQuery { EndDate = EndDate, StartDate = StartDate });
        var columnSeries = new ColumnSeries<decimal>
        {
            Values = new[] { 2909m }
        };

        var columnSeries2 = new ColumnSeries<decimal>
        {
            Values = new[] { 1000m }
        };

        var columnSeries3 = new ColumnSeries<decimal>
        {
            Values = new[] { 5555.2m }
        };


        var columnSeries4 = new ColumnSeries<decimal>
        {
            Values = new[] { 5555.2m }
        };

        Series.Clear();
        Series.Add(columnSeries);
        Series.Add(columnSeries2);
        Series.Add(columnSeries3);
        Series.Add(columnSeries4);

Expected behavior
All Series are drawn correctly

Screenshots
image

Additional context
This is only with the newest version (400) and worked correctly with 300.

beto-rodriguez added a commit that referenced this issue Oct 6, 2022
@beto-rodriguez
Copy link
Owner

Thanks for the report, the refenced commit improves this behavior and this will be gone in the next version of the library.

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