mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-19 23:10:06 +00:00
优化代码,更好的支持自定义图表
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user