mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-24 09:50:15 +00:00
优化Axis的轴动画在初始化时关闭
This commit is contained in:
@@ -191,11 +191,8 @@ namespace XCharts
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (updateChart)
|
UpdateAxisLabelText(axis);
|
||||||
{
|
chart.RefreshChart();
|
||||||
UpdateAxisLabelText(axis);
|
|
||||||
chart.RefreshChart();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!cancelAnimation && axis.context.needAnimation && (axis.context.minValue != axis.context.destMinValue || axis.context.maxValue != axis.context.destMaxValue))
|
if (!cancelAnimation && axis.context.needAnimation && (axis.context.minValue != axis.context.destMinValue || axis.context.maxValue != axis.context.destMaxValue))
|
||||||
|
|||||||
Reference in New Issue
Block a user