mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-20 15:30:09 +00:00
增加Tooltip的Auto自动设置显示类型和触发类型
This commit is contained in:
@@ -146,10 +146,9 @@ namespace XCharts.Runtime
|
||||
{
|
||||
RemoveAllChartComponent();
|
||||
OnBeforeSerialize();
|
||||
AddChartComponentWhenNoExist<Title>();
|
||||
AddChartComponentWhenNoExist<Tooltip>();
|
||||
|
||||
GetChartComponent<Title>().text = GetType().Name;
|
||||
EnsureChartComponent<Title>();
|
||||
EnsureChartComponent<Tooltip>();
|
||||
EnsureChartComponent<Title>().text = GetType().Name;
|
||||
|
||||
if (m_Theme.sharedTheme != null)
|
||||
m_Theme.sharedTheme.CopyTheme(ThemeType.Default);
|
||||
|
||||
Reference in New Issue
Block a user