修复Legendformatter在数据变更时没有自动刷新的问题

This commit is contained in:
monitor1394
2023-11-11 22:46:08 +08:00
parent 83db4dd951
commit 509bd97741
3 changed files with 6 additions and 0 deletions

View File

@@ -108,6 +108,7 @@ namespace XCharts.Runtime
if (serie.dataDirty)
{
SeriesHelper.UpdateSerieNameList(chart, ref chart.m_LegendRealShowName);
chart.OnSerieDataUpdate(serie.index);
serie.OnDataUpdate();
serie.dataDirty = false;
}