优化Axis的轴动画在初始化时关闭

This commit is contained in:
monitor1394
2024-07-27 11:34:13 +08:00
parent feb5e7fc32
commit de4f650e4f

View File

@@ -191,12 +191,9 @@ namespace XCharts
} }
} }
if (updateChart)
{
UpdateAxisLabelText(axis); UpdateAxisLabelText(axis);
chart.RefreshChart(); 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))
{ {