优化SerieData的自定义图标不与SerieLabel关联,可单独控制是否显示

This commit is contained in:
monitor1394
2019-09-25 09:44:53 +08:00
parent e3ab20bcd2
commit f1199f2aad
11 changed files with 36293 additions and 12576 deletions

View File

@@ -70,7 +70,7 @@ namespace XCharts
{
/// <summary>
/// the normal line chart
/// 所有扇区圆心角相同,仅通过半径展现数据大小
/// 普通折线图
/// </summary>
Normal,
/// <summary>
@@ -903,6 +903,15 @@ namespace XCharts
}
}
public bool IsNeedShowDataIcon()
{
foreach (var data in m_Data)
{
if (data.showIcon) return true;
}
return false;
}
/// <summary>
/// 设置指定index的数据图标的尺寸
/// </summary>