mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-22 17:00:08 +00:00
修复Legend点击时Serie的Label不刷新的问题
This commit is contained in:
@@ -647,6 +647,7 @@ namespace XCharts.Runtime
|
||||
public void SetSerieActive(Serie serie, bool active)
|
||||
{
|
||||
serie.show = active;
|
||||
serie.RefreshLabel();
|
||||
serie.AnimationReset();
|
||||
if (active) serie.AnimationFadeIn();
|
||||
UpdateLegendColor(serie.serieName, active);
|
||||
|
||||
Reference in New Issue
Block a user