mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-25 18:30:14 +00:00
优化Comment坐标刷新
This commit is contained in:
@@ -614,7 +614,7 @@ namespace XCharts.Runtime
|
||||
if (endLabelStyle == null)
|
||||
return;
|
||||
var dataCount = serie.context.dataPoints.Count;
|
||||
var active = endLabelStyle.show && dataCount > 0;
|
||||
var active = endLabelStyle.show && dataCount > 0 && !ChartHelper.IsZeroVector(serie.context.lineEndPostion);
|
||||
m_EndLabel.SetActive(active);
|
||||
if (active)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user