From e93b99bb511c4af041874318f2e1b0f5092a251d Mon Sep 17 00:00:00 2001 From: monitor1394 Date: Tue, 12 Nov 2019 12:47:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Runtime/API/BaseChart_API.cs | 15 +-------------- Runtime/PieChart.cs | 1 - 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/Runtime/API/BaseChart_API.cs b/Runtime/API/BaseChart_API.cs index 2c499067..c49923d1 100644 --- a/Runtime/API/BaseChart_API.cs +++ b/Runtime/API/BaseChart_API.cs @@ -419,8 +419,7 @@ namespace XCharts OnThemeChanged(); RefreshChart(); } - - + /// /// Update chart theme info. /// 切换图表主题。 @@ -432,18 +431,6 @@ namespace XCharts UpdateTheme(m_ThemeInfo.theme); } - - /// - /// Update chart theme info. - /// - /// info - public void UpdateThemeInfo(ThemeInfo info) - { - m_ThemeInfo = info; - UpdateTheme(m_ThemeInfo.theme); - } - - /// /// Whether series animation enabel. /// 启用或关闭起始动画。 diff --git a/Runtime/PieChart.cs b/Runtime/PieChart.cs index 9efa5f34..44ab2145 100644 --- a/Runtime/PieChart.cs +++ b/Runtime/PieChart.cs @@ -20,7 +20,6 @@ namespace XCharts { private bool isDrawPie; private bool m_IsEnterLegendButtom; - private bool m_RefreshLabel; protected override void Awake() {