diff --git a/Runtime/API/BaseChart_API.cs b/Runtime/API/BaseChart_API.cs index 6ece0e4f..d9f2af90 100644 --- a/Runtime/API/BaseChart_API.cs +++ b/Runtime/API/BaseChart_API.cs @@ -416,6 +416,17 @@ namespace XCharts RefreshChart(); } + /// + /// Update chart theme info. + /// + /// info + public void UpdateThemeInfo(ThemeInfo info) + { + m_ThemeInfo = info; + UpdateTheme(m_ThemeInfo.theme); + } + + /// /// Whether series animation enabel. /// 启用或关闭起始动画。