Patched library to solve some infinite loops in static graphics Tickets #3438
This commit is contained in:
parent
fdb8d7e963
commit
923091f972
|
@ -1850,6 +1850,7 @@
|
||||||
$Data["Axis"][$AxisID]["Min"] = $AxisMin-$AutoMargin; $Data["Axis"][$AxisID]["Max"] = $AxisMax+$AutoMargin;
|
$Data["Axis"][$AxisID]["Min"] = $AxisMin-$AutoMargin; $Data["Axis"][$AxisID]["Max"] = $AxisMax+$AutoMargin;
|
||||||
}
|
}
|
||||||
$MaxDivs = floor($Height/$MinDivHeight);
|
$MaxDivs = floor($Height/$MinDivHeight);
|
||||||
|
if ($MaxDivs == 0) { $MaxDivs = 1;}
|
||||||
|
|
||||||
if ( $Mode == SCALE_MODE_ADDALL_START0 ) { $Data["Axis"][$AxisID]["Min"] = 0; }
|
if ( $Mode == SCALE_MODE_ADDALL_START0 ) { $Data["Axis"][$AxisID]["Min"] = 0; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue