From 9d2b14afef97364b836725cb101d53693b4868de Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Thu, 14 Dec 2023 19:22:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Runtime/Internal/Data/Graph.cs | 4 ++++ Runtime/XUGL/UGL.cs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Runtime/Internal/Data/Graph.cs b/Runtime/Internal/Data/Graph.cs index a0ff595d..496301a3 100644 --- a/Runtime/Internal/Data/Graph.cs +++ b/Runtime/Internal/Data/Graph.cs @@ -402,6 +402,10 @@ namespace XCharts.Runtime public double value; public Graph hostGraph; + public List points = new List(); + public float width; + public bool highlight; + public GraphEdge(GraphNode node1, GraphNode node2, double value) { this.node1 = node1; diff --git a/Runtime/XUGL/UGL.cs b/Runtime/XUGL/UGL.cs index 6103c524..a290ef5b 100644 --- a/Runtime/XUGL/UGL.cs +++ b/Runtime/XUGL/UGL.cs @@ -1933,7 +1933,7 @@ namespace XUGL } } - private static void DrawCurvesInternal(VertexHelper vh, List curvesPosList, float lineWidth, + public static void DrawCurvesInternal(VertexHelper vh, List curvesPosList, float lineWidth, Color32 lineColor, Direction dire, float currProgress = float.NaN) { if (curvesPosList.Count > 1)