mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-24 09:50:15 +00:00
Merge pull request #250 from Ambitroc/master
修复BarChart在数据为0时,Bar背景不绘制问题
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.EventSystems;
|
using UnityEngine.EventSystems;
|
||||||
using UnityEngine.UI;
|
using UnityEngine.UI;
|
||||||
@@ -259,7 +259,7 @@ namespace XCharts.Runtime
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (serie.show && currHig != 0 && !serie.placeHolder)
|
if (serie.show && !serie.placeHolder)
|
||||||
{
|
{
|
||||||
switch (serie.barType)
|
switch (serie.barType)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user