优化代码,更好的支持自定义图表

This commit is contained in:
monitor1394
2021-04-30 13:10:19 +08:00
parent 852f93dec5
commit 4e4f501e68
4 changed files with 33 additions and 27 deletions

View File

@@ -277,7 +277,7 @@ namespace XCharts
int count = 0;
foreach (var serie in series.list)
{
if (serie.show && (serie.type == type || serie.type == SerieType.Custom))
if (serie.show && (serie.type == type))
{
if (stackName.Equals(serie.stack)) count++;
if (count >= 2) return true;