修复PieChart的Label无法自动更新的问题

This commit is contained in:
monitor1394
2019-08-14 08:52:28 +08:00
parent 8ea961d2ca
commit 614d340835
6 changed files with 101 additions and 10 deletions

View File

@@ -341,6 +341,7 @@ namespace XCharts
var isHighlight = (serieData.highlighted && serie.highlightLabel.show);
if (serie.label.show || isHighlight)
{
ChartHelper.SetActive(serieData.label.gameObject,true);
float rotate = 0;
bool isInsidePosition = serie.label.position == SerieLabel.Position.Inside;
if (serie.label.rotate > 0 && isInsidePosition)