graph chart引入&骑行结果弹窗

This commit is contained in:
lishuo committed 2021-04-22 19:29:59 +08:00
1 parent 40d118cea3
commit 96f3644b5b
2374 files changed
+485161 -2410

No files matched your search

@@ -0,0 +1,35 @@
#define Graph_And_Chart_PRO
//using UnityEngine;
//using System.Collections;
//using ChartAndGraph;
//public partial class HoverText
//{
// partial void HoverStart()
// {
// var candle = GetComponent<CandleChart>();
// if (candle != null)
// {
// mChart = candle;
// candle.CandleHovered.AddListener(CandleHover);
// candle.NonHovered.AddListener(NonHover);
// }
// }
// void CandleHover(CandleChart.CandleEventArgs args)
// {
// string data = "";
// string open, high, low, close, start, duration;
// ((CandleChart)mChart).FormatCandleValue(args.CandleValue, fractionDigits, out open, out high, out low, out close, out start, out duration);
// if (args.IsBodyEvent)
// data = ((CandleChart)mChart).FormatBody(open, close, high, low, start, duration);
// else if (args.IsHighEvent)
// data = ((CandleChart)mChart).FormatHigh(open, close, high, low, start, duration);
// else if (args.IsLowEvent)
// data = ((CandleChart)mChart).FormatLow(open, close, high, low, start, duration);
// PopText(data, args.Position, true);
// }
//}