[optimize][axis] support float when Axis MinMaxType set to MinMax

This commit is contained in:
monitor1394
2022-07-11 07:02:02 +08:00
parent 12757eb4db
commit 69243b7cd0

View File

@@ -425,8 +425,8 @@ namespace XCharts.Runtime
}
else
{
minVaule = min > 1 ? Math.Floor(min) : min;
maxValue = max > 1 ? Math.Ceiling(max) : max;
minVaule = min;
maxValue = max;
}
}