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

ChangeData and Repaint are not updating Pie Chart Labels #90

Open
Antwaan opened this issue Oct 5, 2022 · 0 comments
Open

ChangeData and Repaint are not updating Pie Chart Labels #90

Antwaan opened this issue Oct 5, 2022 · 0 comments

Comments

@Antwaan
Copy link

Antwaan commented Oct 5, 2022

Labels do not update after changing a Pie Charts data set

private IChartComponent PieDeploymentChart;

image

var deployment = _jiraFiltered.Select(x => x.IncidentDeployment).GroupBy(x => x).OrderByDescending(x => x.Count()).Select(x => new { type = x.Key.ToString(), value = x.Count() }).ToArray();

PieDeploymentChart.ChangeData(deployment, true);

Before:
image

After:
image

I have tried to use .Repaint as well with no luck.

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

1 participant