add UpdateThemeInfo API

This commit is contained in:
Jacob Rapoport
2019-10-26 17:36:12 -07:00
committed by monitor1394
parent caab0fb412
commit b156180993

View File

@@ -416,6 +416,17 @@ namespace XCharts
RefreshChart();
}
/// <summary>
/// Update chart theme info.
/// </summary>
/// <param name="info">info</param>
public void UpdateThemeInfo(ThemeInfo info)
{
m_ThemeInfo = info;
UpdateTheme(m_ThemeInfo.theme);
}
/// <summary>
/// Whether series animation enabel.
/// 启用或关闭起始动画。