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)