From b5a70673096bd78b69e071fc961b124ad26fc2cd Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Wed, 13 Jan 2021 18:40:17 +0800 Subject: [PATCH] XCharts 2.0 --- Runtime/Internal/BaseGraph.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Runtime/Internal/BaseGraph.cs b/Runtime/Internal/BaseGraph.cs index 917be668..9e0dca66 100644 --- a/Runtime/Internal/BaseGraph.cs +++ b/Runtime/Internal/BaseGraph.cs @@ -190,6 +190,11 @@ namespace XCharts } } + protected override void OnPopulateMesh(VertexHelper vh) + { + vh.Clear(); + } + private void InitBackground() { var backgroundObj = ChartHelper.AddObject(s_BackgroundObjectName, transform, m_GraphMinAnchor,