修复ConvertXYAxis()多次调用后图表异常的问题

This commit is contained in:
monitor1394
2024-04-23 22:16:28 +08:00
parent b1522a27d4
commit 0c92d08f0d
4 changed files with 17 additions and 1 deletions

View File

@@ -459,6 +459,17 @@ namespace XCharts.Runtime
base.SetComponentDirty();
}
/// <summary>
/// 重置状态。
/// </summary>
public override void ResetStatus()
{
context.minValue = 0;
context.maxValue = 0;
context.destMinValue = 0;
context.destMaxValue = 0;
}
public Axis Clone()
{
var axis = new Axis();