mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-25 02:10:16 +00:00
修复SerieLabel设置color不生效的问题
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
|
|
||||||
# 更新日志
|
# 更新日志
|
||||||
|
|
||||||
|
* (2019.11.16) 修复`SerieLabel`设置`color`不生效的问题
|
||||||
* (2019.11.12) 发布`v1.0.5`版本
|
* (2019.11.12) 发布`v1.0.5`版本
|
||||||
* (2019.11.12) 修复`2018.3`以下版本打开项目报错的问题
|
* (2019.11.12) 修复`2018.3`以下版本打开项目报错的问题
|
||||||
* (2019.11.12) 增加`IconStyle`子组件,优化`SerieData`的图标配置
|
* (2019.11.12) 增加`IconStyle`子组件,优化`SerieData`的图标配置
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
namespace XCharts
|
namespace XCharts
|
||||||
{
|
{
|
||||||
@@ -29,6 +30,7 @@ namespace XCharts
|
|||||||
element = m_Stack.Pop();
|
element = m_Stack.Pop();
|
||||||
element.name = name;
|
element.name = name;
|
||||||
element.transform.SetParent(parent);
|
element.transform.SetParent(parent);
|
||||||
|
element.GetComponentInChildren<Text>().color = color;
|
||||||
ChartHelper.SetActive(element, true);
|
ChartHelper.SetActive(element, true);
|
||||||
}
|
}
|
||||||
return element;
|
return element;
|
||||||
|
|||||||
Reference in New Issue
Block a user