mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-30 13:28:47 +00:00
[optimize][axis] support float when Axis MinMaxType set to MinMax
This commit is contained in:
@@ -425,8 +425,8 @@ namespace XCharts.Runtime
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
minVaule = min > 1 ? Math.Floor(min) : min;
|
minVaule = min;
|
||||||
maxValue = max > 1 ? Math.Ceiling(max) : max;
|
maxValue = max;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user