mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-23 09:20:08 +00:00
add UpdateThemeInfo API
This commit is contained in:
@@ -416,6 +416,19 @@ namespace XCharts
|
|||||||
RefreshChart();
|
RefreshChart();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Update chart theme info.
|
||||||
|
/// 切换图表主题。
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="themeInfo">themeInfo</param>
|
||||||
|
public void UpdateThemeInfo(ThemeInfo themeInfo)
|
||||||
|
{
|
||||||
|
m_ThemeInfo = themeInfo;
|
||||||
|
UpdateTheme(m_ThemeInfo.theme);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Whether series animation enabel.
|
/// Whether series animation enabel.
|
||||||
/// 启用或关闭起始动画。
|
/// 启用或关闭起始动画。
|
||||||
|
|||||||
Reference in New Issue
Block a user