mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-26 19:00:24 +00:00
修复LineChart在XY都为数值轴时添加无序数据显示异常的问题
This commit is contained in:
@@ -275,8 +275,6 @@ namespace XCharts.Runtime
|
|||||||
{
|
{
|
||||||
if (m_IsInit || m_IsEnd)
|
if (m_IsInit || m_IsEnd)
|
||||||
return;
|
return;
|
||||||
if (curr > dest)
|
|
||||||
return;
|
|
||||||
|
|
||||||
m_IsInit = true;
|
m_IsInit = true;
|
||||||
m_TotalDetailProgress = dest - curr;
|
m_TotalDetailProgress = dest - curr;
|
||||||
|
|||||||
@@ -360,8 +360,10 @@ namespace XCharts.Runtime
|
|||||||
/// fadeIn animation.
|
/// fadeIn animation.
|
||||||
/// |开始渐入动画。
|
/// |开始渐入动画。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void AnimationFadeIn()
|
public void AnimationFadeIn(bool reset = true)
|
||||||
{
|
{
|
||||||
|
if (reset)
|
||||||
|
AnimationReset();
|
||||||
foreach (var serie in m_Series) serie.AnimationFadeIn();
|
foreach (var serie in m_Series) serie.AnimationFadeIn();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user