Example #1
0
 public void BarHovered(BarChart.BarEventArgs args)
 {
     int num = Convert.ToInt32(args.Category.Replace("Day", ""));
     dayTxt[num - 1].color = hoverColor;
     dayTxt[num - 1].fontSize = hoverSize;
     valueTxt[num - 1].color = hoverColor;
     valueTxt[num - 1].fontSize = hoverSize;
 }
Example #2
0
    public void barHovered(BarChart.BarEventArgs args)
    {
        cursorForHover.SetActive(true);
        Text hoverText = cursorForHover.GetComponentInChildren <Text>();

        hoverText.text = args.Category;
        Debug.Log("bar hovered " + args.Category);
    }
    void BarClicked(BarChart.BarEventArgs args)
    {
        var sel = bar.GetComponent <masterBarSelection>();

        if (sel != null)
        {
            sel.ToogleBar(args.Category, args.Group);
        }
    }
Example #4
0
    void BarHover(BarChart.BarEventArgs args)
    {
        String data = ChartAdancedSettings.Instance.FormatFractionDigits(fractionDigits, args.Value);

        PopText(data, args.TopPosition, true);
    }
Example #5
0
 public void barClicked(BarChart.BarEventArgs args)
 {
     Debug.Log(args.Category);
 }
Example #6
0
 public void barClicked(BarChart.BarEventArgs args)
 {
     selectBar("Admission Type", args.Category);
 }