示例#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;
 }
示例#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);
        }
    }
示例#4
0
    void BarHover(BarChart.BarEventArgs args)
    {
        String data = ChartAdancedSettings.Instance.FormatFractionDigits(fractionDigits, args.Value);

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