[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

@@ -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)