fixed bug

This commit is contained in:
monitor1394
2019-10-09 19:20:03 +08:00
parent c04bac73dc
commit 7f41fee58e

View File

@@ -334,9 +334,9 @@ namespace XCharts
{ {
if (height <= 0) if (height <= 0)
{ {
var hig = gridBottom - bottom - 30; height = gridBottom - bottom - 30;
if (hig < 10) hig = 10; if (height < 10) height = 10;
return hig; return height;
} }
else return height; else return height;
} }