mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-16 05:10:12 +00:00
修复PieChart的Label无法自动更新的问题
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user