XChart重构:共享数据模型快照、时间序列与多分辨率系列,伪3D散点图/雷达图接入共享数据
This commit is contained in:
@@ -119,7 +119,6 @@ namespace XericUI.XChart.Radar
|
||||
var labelsObj = CreateChild("Labels");
|
||||
LabelsRoot = labelsObj;
|
||||
|
||||
SetVisible(true);
|
||||
}
|
||||
|
||||
// ── 标记脏 ────────────────────────────────────────────────
|
||||
@@ -281,7 +280,7 @@ namespace XericUI.XChart.Radar
|
||||
|
||||
for (int i = 0; i < count; i++)
|
||||
{
|
||||
var labelObj = new GameObject($"Label_{i}");
|
||||
var labelObj = new GameObject($"Label_{i}", typeof(RectTransform));
|
||||
labelObj.transform.SetParent(LabelsRoot, false);
|
||||
labelObj.hideFlags = CurrentFlags;
|
||||
|
||||
@@ -311,4 +310,4 @@ namespace XericUI.XChart.Radar
|
||||
LabelTexts = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user