增加PieChart的Animation初始化动画配置支持

This commit is contained in:
monitor1394
2019-09-05 09:21:37 +08:00
parent 585da7ea18
commit 1683bb82d5
5 changed files with 4329 additions and 4282 deletions

View File

@@ -185,5 +185,13 @@ namespace XCharts
if (!enable || m_IsEnd) return dest;
return m_CurrSymbolProgress;
}
public float GetCurrDetail(){
return m_CurrDetailProgress;
}
public float GetCurrData(){
return m_CurrDataProgress;
}
}
}

View File

@@ -55,6 +55,10 @@ namespace XCharts
public RectTransform labelRect { get; private set; }
public Image labelImage { get; private set; }
/// <summary>
/// 是否可以显示Label
/// </summary>
public bool canShowLabel { get; set; }
/// <summary>
/// the maxinum value.
/// 最大值。
/// </summary>