ant-design-blazor / ant-design-blazor/ant-design-charts-blazor

ChangeData and Repaint are not updating Pie Chart Labels

未关闭
#90 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C#
星标
186
派生
44
PR 合并指标
30 天内没有已合并 PR

描述

Labels do not update after changing a Pie Charts data set

`private IChartComponent PieDeploymentChart;`

![image](https://user-images.githubusercontent.com/1752840/194031727-b78c08b2-5d05-4f22-989f-7b3e18855ca2.png)

`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](https://user-images.githubusercontent.com/1752840/194032246-b5b1b51b-6df7-48dc-8ce3-545694126c20.png)

After:
![image](https://user-images.githubusercontent.com/1752840/194032315-1418eb48-1206-4283-943b-e9927784c783.png)

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。