Lint mon cache a fait que ça n'avait pas été corrigé à la première passe
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Nigel Sheldon 2021-01-03 17:23:46 +01:00
parent b5868f05f6
commit 52e4266218
4 changed files with 13 additions and 16 deletions

View File

@ -434,8 +434,7 @@ class Image
$ymarg=4, $ymarg=4,
$cornerradius=0, $cornerradius=0,
$dropwidth=3 $dropwidth=3
) ) {
{
$oldx = $this->lastx; $oldx = $this->lastx;
$oldy = $this->lasty; $oldy = $this->lasty;
@ -551,8 +550,7 @@ class Image
$ymarg=4, $ymarg=4,
$cornerradius=0, $cornerradius=0,
$dropwidth=3 $dropwidth=3
) ) {
{
// This version of boxed text will stroke a rotated box round the text // This version of boxed text will stroke a rotated box round the text
// thta will follow the angle of the text. // thta will follow the angle of the text.

View File

@ -945,9 +945,9 @@ class GanttGraph extends Graph
// Firdst find out the maximum width of each object column // Firdst find out the maximum width of each object column
$titlewidth = max( $titlewidth = max(
max( max(
$this->GetMaxLabelWidth(), $this->GetMaxLabelWidth(),
$this->scale->tableTitle->GetWidth($this->img) $this->scale->tableTitle->GetWidth($this->img)
), ),
$this->scale->actinfo->GetWidth($this->img) $this->scale->actinfo->GetWidth($this->img)
); );
@ -1044,9 +1044,9 @@ class GanttGraph extends Graph
$maxwidth=max( $maxwidth=max(
$this->scale->actinfo->GetWidth($this->img), $this->scale->actinfo->GetWidth($this->img),
max( max(
$this->GetMaxLabelWidth(), $this->GetMaxLabelWidth(),
$this->scale->tableTitle->GetWidth($this->img) $this->scale->tableTitle->GetWidth($this->img)
) )
); );
$this->scale->SetLabelWidth($maxwidth+$this->scale->divider->iWeight);//*(1+$this->iLabelHMarginFactor)); $this->scale->SetLabelWidth($maxwidth+$this->scale->divider->iWeight);//*(1+$this->iLabelHMarginFactor));

View File

@ -426,10 +426,10 @@ class LinePlot extends Plot
array_merge( array_merge(
$areaCoords, $areaCoords,
array_slice( array_slice(
$cord, $cord,
$this->filledAreas[$i][0] * $factor, $this->filledAreas[$i][0] * $factor,
($this->filledAreas[$i][1] - $this->filledAreas[$i][0] + ($this->step_style ? 0 : 1)) * $factor ($this->filledAreas[$i][1] - $this->filledAreas[$i][0] + ($this->step_style ? 0 : 1)) * $factor
) )
); );
$areaCoords[] = $areaCoords[sizeof($areaCoords)-2]; // last x $areaCoords[] = $areaCoords[sizeof($areaCoords)-2]; // last x
$areaCoords[] = $minY; // last y $areaCoords[] = $minY; // last y

View File

@ -424,8 +424,7 @@ class PiePlot3D extends PiePlot
$startangle=0, $startangle=0,
$edgecolor="", $edgecolor="",
$edgeweight=1 $edgeweight=1
) ) {
{
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// As usual the algorithm get more complicated than I originally // As usual the algorithm get more complicated than I originally