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); } }
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); } }
void GraphHoverd(GraphChartBase.GraphEventArgs args) { infoText.text = string.Format("({0}, {1})", args.XString, args.YString); }
void GraphClicked(GraphChartBase.GraphEventArgs args) { isHeld = true; x = int.Parse(args.XString); infoText.text = string.Format("({0}, {1})", args.XString, args.YString); }