增加SerieDataignore可忽略当前数据项

This commit is contained in:
monitor1394
2021-04-28 19:28:05 +08:00
parent 6eae4c7533
commit 054387c71c
11 changed files with 34 additions and 18 deletions

View File

@@ -59,7 +59,7 @@ namespace XCharts
for (int n = 0; n < data.Count; n++)
{
var serieData = data[n];
if (!serieData.canShowLabel || serie.IsIgnoreValue(serieData.GetData(1)))
if (!serieData.canShowLabel || serie.IsIgnoreValue(serieData))
{
serieData.SetLabelActive(false);
continue;