오류 수정

This commit is contained in:
정영민
2025-04-17 16:36:08 +09:00
parent 73b7729da8
commit 4f48d5f06b
34 changed files with 2234 additions and 2213 deletions

View File

@@ -41,6 +41,7 @@ public class UI_BarChart : UIBase
{
this.barChartDatas.Clear();
barChart.DataSource.ClearGroups();
barChart.DataSource.ClearValues();
barChart.DataSource.AutomaticMaxValue = true;
@@ -58,6 +59,7 @@ public class UI_BarChart : UIBase
}
private void SetStackBarData()
{
ClearStackBar();
stackBarPos.Clear();
for (int i = 0; i < barChartDatas.Count; i++)
@@ -85,6 +87,16 @@ public class UI_BarChart : UIBase
dateTime.SetDateTime(barChartDatas[i]._time);
}
}
private void ClearStackBar()
{
if (StackBarParent.childCount <= 0)
return;
for (int i = 0; i < StackBarParent.childCount; i++)
{
Destroy(StackBarParent.transform.GetChild(i).gameObject);
}
}
private void ClearChartLabels()
{
if (DateTimeParent.childCount <= 0)