diff --git a/Assets/XCharts/CHANGELOG.md b/Assets/XCharts/CHANGELOG.md index 95eb575a..f892f80d 100644 --- a/Assets/XCharts/CHANGELOG.md +++ b/Assets/XCharts/CHANGELOG.md @@ -1,7 +1,8 @@ # 更新日志 -* (2020.05.27) 优化柱状图的渐变色效果 +* (2020.05.27) 修复调用`UpdateDataName()`接口时不会自动刷新的问题 +* (2020.05.27) 优化`柱状图`的渐变色效果 * (2020.05.24) 修复`Axis`同时设置`boundaryGap`和`alignWithLabel`时`Tick`绘制异常的问题 * (2020.05.24) 优化版本更新检测 * (2020.05.22) 发布`v1.5.0`版本 diff --git a/Assets/XCharts/Runtime/Internal/BaseChart.cs b/Assets/XCharts/Runtime/Internal/BaseChart.cs index b965410d..c1e25412 100644 --- a/Assets/XCharts/Runtime/Internal/BaseChart.cs +++ b/Assets/XCharts/Runtime/Internal/BaseChart.cs @@ -591,6 +591,8 @@ namespace XCharts { m_Legend.SetAllDirty(); serie.ClearNameDirty(); + RefreshChart(); + break; } } }