mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-19 23:10:06 +00:00
修复饼图当数据名称默认为空时颜色显示异常的问题
This commit is contained in:
@@ -872,7 +872,7 @@ namespace XCharts
|
||||
int numName = -1;
|
||||
if (int.TryParse(name, out numName))
|
||||
{
|
||||
if (numName >= 0 && numName < list.Count) return false;
|
||||
if (numName >= 0 && numName < 100) return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user