mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-19 23:10:06 +00:00
完善Pie饼图的交互动画效果
This commit is contained in:
@@ -538,7 +538,8 @@ namespace XCharts.Runtime
|
||||
return 0;
|
||||
}
|
||||
|
||||
public float GetInteractionRadius(float radius){
|
||||
public float GetInteractionRadius(float radius)
|
||||
{
|
||||
|
||||
if (m_Enable && m_Interaction.enable)
|
||||
return m_Interaction.GetRadius(radius);
|
||||
@@ -550,5 +551,15 @@ namespace XCharts.Runtime
|
||||
{
|
||||
return enable && m_FadeOut.context.end;
|
||||
}
|
||||
|
||||
public bool IsFadeIn()
|
||||
{
|
||||
return enable && m_FadeIn.context.start;
|
||||
}
|
||||
|
||||
public bool IsFadeOut()
|
||||
{
|
||||
return enable && m_FadeOut.context.start;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user