Exemple #1
0
        public static void AddLineChartGraph(MenuCommand menuCommand)
        {
            GameObject lineGraph = SpringGUIDefaultControls.CreateLineChartGraph(GetStandardResources());

            PlaceUIElementRoot(lineGraph, menuCommand);
            lineGraph.transform.localPosition = Vector3.zero;
            lineGraph.AddComponent <LineChart>();
        }