优化Label显示体验

This commit is contained in:
monitor1394
2024-07-12 21:22:53 +08:00
parent 99d824e3a0
commit b22288eac4
11 changed files with 22 additions and 21 deletions

View File

@@ -255,7 +255,7 @@ namespace XCharts.Runtime
{
if (label == null) return;
if (double.IsNaN(axis.context.pointerValue)) return;
label.SetActive(true);
label.SetActive(true, true);
label.SetTextActive(true);
label.SetPosition(axis.context.pointerLabelPosition + axis.indicatorLabel.offset);