完善Pie饼图的交互动画效果

This commit is contained in:
monitor1394
2023-07-18 13:23:41 +08:00
parent 816e26f517
commit f5e8ba4082
8 changed files with 83 additions and 56 deletions

View File

@@ -183,8 +183,6 @@ namespace XCharts.Runtime
/// </summary>
public void RefreshChart()
{
foreach (var serie in m_Series)
serie.ResetInteract();
m_RefreshChart = true;
if (m_Painter) m_Painter.Refresh();
foreach (var painter in m_PainterList) painter.Refresh();
@@ -213,7 +211,7 @@ namespace XCharts.Runtime
public void RefreshChart(Serie serie)
{
if (serie == null) return;
serie.ResetInteract();
// serie.ResetInteract();
RefreshPainter(serie);
}