修复BarChart在数据为0时,Bar背景不绘制问题

This commit is contained in:
Ambitroc
2023-03-14 13:29:50 +08:00
parent 49e9066334
commit 3073926d73

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
@@ -259,7 +259,7 @@ namespace XCharts.Runtime
continue;
}
if (serie.show && currHig != 0 && !serie.placeHolder)
if (serie.show && !serie.placeHolder)
{
switch (serie.barType)
{