mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-18 14:30:10 +00:00
开启部分Serie的MaxCache设置
This commit is contained in:
@@ -248,7 +248,11 @@ namespace XCharts.Runtime
|
||||
|
||||
public List<MainComponent> GetChartComponents<T>() where T : MainComponent
|
||||
{
|
||||
return m_ComponentMaps[typeof(T)];
|
||||
var type = typeof(T);
|
||||
if (m_ComponentMaps.ContainsKey(type))
|
||||
return m_ComponentMaps[type];
|
||||
else
|
||||
return null;
|
||||
}
|
||||
|
||||
[Obsolete("'GetOrAddChartComponent' is obsolete, Use 'EnsureChartComponent' instead.")]
|
||||
|
||||
Reference in New Issue
Block a user