diff --git a/Runtime/Internal/Data/GraphData.cs b/Runtime/Internal/Data/GraphData.cs index 2fbea247..b5fe2e9f 100644 --- a/Runtime/Internal/Data/GraphData.cs +++ b/Runtime/Internal/Data/GraphData.cs @@ -367,6 +367,15 @@ namespace XCharts.Runtime } } } + + public bool IsAllNodeInZeroPosition() + { + foreach (var node in nodes) + { + if (node.position != Vector3.zero) return false; + } + return true; + } } ///