修复SerieLabel在重新添加数据时可能不显示的问题

This commit is contained in:
monitor1394
2020-06-18 08:57:11 +08:00
parent 17c8b76c54
commit 715574b483
3 changed files with 5 additions and 1 deletions

View File

@@ -435,6 +435,7 @@ namespace XCharts
for (int i = 0; i < m_Series.Count; i++)
{
var serie = m_Series.list[i];
serie.index = i;
SerieHelper.UpdateCenter(serie, chartPosition, chartWidth, chartHeight);
for (int j = 0; j < serie.data.Count; j++)
{