mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-23 09:20:08 +00:00
修复Legend的formatter在数据变更时没有自动刷新的问题
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user