void Start()
    {
        height = graphContainer.rect.height - 10;
        width  = graphContainer.rect.width - 10;
        //Debug.Log(height + ", " + width);

        infoTextComp = infoText.transform.GetChild(0).GetComponent <Text>();
        c            = infoTextComp.color;

        List <int> scores = GlobalController.GetScores(1);

        ShowGraph(scores);
    }
    public void ChooseGraph(int idx)
    {
        foreach (GameObject g in points)
        {
            Destroy(g);
        }

        foreach (GameObject g in cns)
        {
            Destroy(g);
        }

        switch (idx)
        {
        case 0: ShowGraph(GlobalController.GetScores(1));
            break;

        case 1: ShowGraph(GlobalController.GetScores(2));
            break;

        case 2: ShowGraph(GlobalController.GetScores(3));
            break;
        }
    }