修复当Axis的minMaxType为Custom时max设置为100不生效的问题

This commit is contained in:
monitor1394
2019-08-06 18:18:15 +08:00
parent 37dcbaf05c
commit 3a84776a52

View File

@@ -636,7 +636,7 @@ namespace XCharts
private void UpdateAxisMinMaxValue(int axisIndex, Axis axis)
{
axis.minValue = 0;
axis.maxValue = 100;
axis.maxValue = 0;
if (axis.IsCategory()) return;
int tempMinValue = 0;