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

ChangeData and Repaint are not updating Pie Chart Labels

Đang mở
#90 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C#
Star
186
Fork
44
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.