Merge pull request #250 from Ambitroc/master

修复BarChart在数据为0时,Bar背景不绘制问题
This commit is contained in:
monitor1394
2023-03-14 21:37:01 +08:00
committed by GitHub

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)
{