重构代码,废弃Series.series接口,用Series.list代替

This commit is contained in:
monitor1394
2019-10-01 13:52:02 +08:00
parent a220017d3d
commit 2560170921
15 changed files with 28 additions and 33 deletions

View File

@@ -346,7 +346,7 @@ namespace XCharts
/// <returns></returns>
public virtual bool IsActiveByLegend(string legendName)
{
foreach (var serie in m_Series.series)
foreach (var serie in m_Series.list)
{
if (serie.show && legendName.Equals(serie.name))
{