[improve][Parallel] improve ParallelChart

This commit is contained in:
monitor1394
2022-09-23 08:38:56 +08:00
parent bd9a0df52b
commit 4c89bda4b9
7 changed files with 21 additions and 17 deletions

View File

@@ -448,7 +448,7 @@ namespace XCharts.Runtime
var endLabelStyle = serie.endLabel;
if (endLabelStyle == null)
return;
var dataCount = serie.context.drawPoints.Count;
var dataCount = serie.context.dataPoints.Count;
var active = endLabelStyle.show && dataCount > 0;
m_EndLabel.SetActive(active);
if (active)