Exemplo n.º 1
0
 private void SetChartType(UIChartTypes chartType, int chartIndex)
 {
     if (chartObjects.Length > chartIndex)
     {
         ChartController controller = chartObjects[chartIndex].GetComponent <ChartController>();
         //controller.SeriesCount += 1;
         controller.SetChartType(chartType);
     }
     else
     {
         Debug.LogError("Not enough graphs!");
     }
 }