コード例 #1
0
 void GraphLineHoverd(GraphChartBase.GraphEventArgs args)
 {
     if (args.Magnitude < 0f)
     {
         infoText.text = string.Format("Line Start at {0} : {1},{2}", args.Category, args.XString, args.YString);
     }
     else
     {
         infoText.text = string.Format("Line Start at {0} : {1},{2} : Sample Size {3}", args.Category, args.XString, args.YString, args.Magnitude);
     }
 }
コード例 #2
0
 void GraphClicked(GraphChartBase.GraphEventArgs args)
 {
     if (args.Magnitude < 0f)
     {
         infoText.text = string.Format("{0} : {1},{2} Clicked", args.Category, args.XString, args.YString);
     }
     else
     {
         infoText.text = string.Format("{0} : {1},{2} : Sample Size {3} Clicked", args.Category, args.XString, args.YString, args.Magnitude);
     }
 }
コード例 #3
0
 void GraphHoverd(GraphChartBase.GraphEventArgs args)
 {
     infoText.text = string.Format("({0}, {1})", args.XString, args.YString);
 }
コード例 #4
0
 void GraphClicked(GraphChartBase.GraphEventArgs args)
 {
     isHeld        = true;
     x             = int.Parse(args.XString);
     infoText.text = string.Format("({0}, {1})", args.XString, args.YString);
 }