修复Tooltip的指示器在某些情况下指示位置不准的问题

This commit is contained in:
monitor1394
2021-03-14 05:23:08 +08:00
parent e06393a22f
commit 457db21751
5 changed files with 45 additions and 41 deletions

View File

@@ -16,6 +16,7 @@ namespace XCharts.Examples
{
private CandlestickChart chart;
private float updateTime;
public int dataCount = 100;
void Awake()
{
@@ -24,7 +25,7 @@ namespace XCharts.Examples
{
chart = gameObject.AddComponent<CandlestickChart>();
}
GenerateOHLC(1000);
GenerateOHLC(dataCount);
}
void Update()