[fix] fix InsertSerie()

This commit is contained in:
monitor1394
2022-09-21 07:12:59 +08:00
parent 4b8ca2e5e1
commit 95c0bcdb75
2 changed files with 3 additions and 0 deletions

View File

@@ -58,6 +58,7 @@
## master
* (2022.09.21) 修复`InsertSerie()`接口不刷新图表的问题
* (2022.09.21) 优化`PolarChart``Line`热力图的支持
* (2022.09.20) 增加`PolarChart``Heatmap`热力图的支持
* (2022.09.19) 增加`PolarChart`对多柱图和堆叠柱图的支持

View File

@@ -30,7 +30,9 @@ namespace XCharts.Runtime
else if (index >= 0) m_Series.Insert(index, serie);
else m_Series.Add(serie);
ResetSeriesIndex();
InitSerieHandlers();
SeriesHelper.UpdateSerieNameList(this, ref m_LegendRealShowName);
RefreshChart();
}
public bool MoveUpSerie(int serieIndex)