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

Legend values sometimes dont display #861

Closed
rpascalegh opened this issue Dec 30, 2022 · 13 comments
Closed

Legend values sometimes dont display #861

rpascalegh opened this issue Dec 30, 2022 · 13 comments
Labels
priority 0 needs to be fixed asap.

Comments

@rpascalegh
Copy link

rpascalegh commented Dec 30, 2022

Describe the bug
Pie chart legend shows values correctly. Run the app again and they sometimes dont show. The Seperator shows, but values dont. When I load new data into pie, the legend data is not updating when Seriers is updated. All the values change correctly, and the pie values update correctly, but the legend data does not update. I am testing and seeing values in legend not updating.

Using Same code on different versions Live Chart Versions.
In version .400 same code worked when "VALUES" is updated pie values update, when "NAME" is updated legend values update.
In version .603 same code when "VALUES" is updated pie values update, when "NAME" is updated legend DO NOT update.

To Reproduce
Steps to reproduce the behavior:
Load Values into pie. Run app over to cause issue.
loading pie data
for (int i = 0; i < report.xvalues.Count; i++)
{
Chart4.Series[i].Values = new List { report.posted[i] };
Chart4.Series[i].Name = report.xvalues[i] + "\n" + Math.Round(report.posted[i] / 1000000, 3).ToString();
}

Expected behavior
Legend values to show

Screenshots
If applicable, add screenshots to help explain your problem.
pie

Desktop (please complete the following information):
Win 10 , VS 2022 Dot net Maui

Smartphone (please complete the following information):
Android Samsung S21+

Additional context
Using .603 because .700 crashes.

@rpascalegh rpascalegh changed the title Legen values sometimes dont displya Legend values sometimes dont displya Dec 30, 2022
@rpascalegh rpascalegh changed the title Legend values sometimes dont displya Legend values sometimes dont display Dec 30, 2022
@nabrezzelt
Copy link

nabrezzelt commented Dec 30, 2022

Hey, I have the same problem in WPF, that the names in the legend aren't displayed.

If the PieChart is displayed the first time, the names are visible. After the ObservableCollection changed, the names are missing/not visible.

I'm using version 2.0.0-beta.700

@rpascalegh
Copy link
Author

I had to roll back to .400, waiting until this is corrected.

@jcalleBalder
Copy link

Hi, I have the same problem with the PieChart at WPF, it only shows at first time.
I'm using version 2.0.0-beta.700 too

@rpascalegh
Copy link
Author

Has anyone found work around for this issue?

@network-interface-controller

Unfortunately not, the problem still persists and seems to affect all chart types :(

@beto-rodriguez is there a chance to increase the priority of this issue? Vanishing legends after value changes are really annoying....

@rpascalegh
Copy link
Author

Aww. That means I can use .700 until a fix is done. Having the lengend disappear is deal breaker. You cant read a chart without knowing what it represents.

@beto-rodriguez
Copy link
Owner

This should be fixed soon

@beto-rodriguez beto-rodriguez added the priority 0 needs to be fixed asap. label May 6, 2023
@rpascalegh
Copy link
Author

Please note, I tested ver 710 , still has same issue with legend not alwasy appearing.

@beto-rodriguez
Copy link
Owner

yes, I mean it will be fixed in beta 800, it is currently fixed in the dev branch.

@rpascalegh
Copy link
Author

Ok. Thank you.

@AdrianVisnovsky
Copy link

Is there a approx release date for the new version?

@beto-rodriguez
Copy link
Owner

It is uploaded now/

@rpascalegh
Copy link
Author

rpascalegh commented Jun 13, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority 0 needs to be fixed asap.
Projects
None yet
Development

No branches or pull requests

6 participants