fix pie chart fade out animation #168

This commit is contained in:
monitor1394
2021-09-07 21:44:05 +08:00
parent 7f4154b1db
commit 4ad4eef4a3
4 changed files with 5 additions and 0 deletions

View File

@@ -546,6 +546,7 @@ namespace XCharts
var iconStyle = SerieHelper.GetIconStyle(serie, serieData);
if (serie.IsPerformanceMode()) return;
if (!serieLabel.show && !iconStyle.show) return;
if(serie.animation.enable && serie.animation.HasFadeOut()) return;
var textName = ChartCached.GetSerieLabelName(s_SerieLabelObjectName, serie.index, serieData.index);
var color = Color.grey;
if (serie.type == SerieType.Pie)