HuasoFoundries/jpgraph

View on GitHub

Showing 6,805 of 6,805 total issues

Line exceeds 120 characters; contains 171 characters
Open

                //('The available width ('.$width.') for minutes are to small for this scale to be displayed. Please use auto-sizing or increase the width of the graph.');
Severity: Minor
Found in src/graph/GanttScale.php by phpcodesniffer

Line exceeds 120 characters; contains 186 characters
Open

                Util\JpGraphError::RaiseL(25071); //('You have specified a min value with SetAutoMin() which is larger than the maximum value used for the scale. This is not possible.');
Severity: Minor
Found in src/graph/LinearScale.php by phpcodesniffer

Line exceeds 120 characters; contains 142 characters
Open

            if (empty($this->iManualMinTickPos[$i]) || $this->iManualMinTickPos[$i] < $minScale || $this->iManualMinTickPos[$i] > $maxScale) {
Severity: Minor
Found in src/graph/LinearTicks.php by phpcodesniffer

Line exceeds 120 characters; contains 306 characters
Open

            Util\JpGraphError::RaiseL(25068); //("A plot has an illegal scale. This could for example be that you are trying to use text autoscaling to draw a line plot with only one point or that the plot area is too small. It could also be that no input data value is numeric (perhaps only '-' or 'x')");
Severity: Minor
Found in src/graph/LinearTicks.php by phpcodesniffer

Line exceeds 120 characters; contains 183 characters
Open

        return '<img src="' . $aScriptName . '?' . $urlarg . '" ismap="ismap" usemap="#' . $aCSIMName . '" height="' . $this->img->height . '" alt="' . $this->iCSIMImgAlt . "\" />\n";
Severity: Minor
Found in src/graph/Graph.php by phpcodesniffer

Line exceeds 120 characters; contains 123 characters
Open

                    if ($this->y2scale->ticks->label_formatstr == '' && $this->y2scale->ticks->label_dateformatstr == '') {
Severity: Minor
Found in src/graph/Graph.php by phpcodesniffer

Line exceeds 120 characters; contains 246 characters
Open

                Util\JpGraphError::RaiseL(25035, $this->img->a); //('You have enabled clipping. Cliping is only supported for graphs at 0 or 90 degrees rotation. Please adjust you current angle (='.$this->img->a.' degrees) or disable clipping.');
Severity: Minor
Found in src/graph/Graph.php by phpcodesniffer

Line exceeds 120 characters; contains 144 characters
Open

                //('Intervall for hours must divide the day evenly, e.g. 0:30, 1:00, 1:30, 4:00 etc. You have specified an intervall of '.$tmp);
Severity: Minor
Found in src/graph/GanttScale.php by phpcodesniffer

Line exceeds 120 characters; contains 141 characters
Open

                $monthwidth = $this->GetDayWidth() * ($this->GetMonthDayNbr($this->iEndDate) - $this->GetMonthDayNbr($this->iStartDate) + 1);
Severity: Minor
Found in src/graph/GanttScale.php by phpcodesniffer

Line exceeds 120 characters; contains 170 characters
Open

                    Util\JpGraphError::RaiseL(25028, $dir); //('Apache/PHP does not have permission to write to the CSIM cache directory ('.$dir.'). Check permissions.');
Severity: Minor
Found in src/graph/Graph.php by phpcodesniffer

Line exceeds 120 characters; contains 121 characters
Open

            Util\JpGraphError::RaiseL(25031); //('You must specify what scale to use with a call to Graph::SetScale().');
Severity: Minor
Found in src/graph/Graph.php by phpcodesniffer

Line exceeds 120 characters; contains 202 characters
Open

    public function SetTitleBackground($aBackColor = 'gray', $aStyle = TITLEBKG_STYLE1, $aFrameStyle = TITLEBKG_FRAME_NONE, $aFrameColor = 'black', $aFrameWeight = 1, $aBevelHeight = 3, $aEnable = true)
Severity: Minor
Found in src/graph/Graph.php by phpcodesniffer

Line exceeds 120 characters; contains 135 characters
Open

                        if ($this->ynscale[$i]->ticks->label_formatstr == '' && $this->ynscale[$i]->ticks->label_dateformatstr == '') {
Severity: Minor
Found in src/graph/Graph.php by phpcodesniffer

Line exceeds 120 characters; contains 131 characters
Open

                $this->xscale->off += ceil($this->xscale->scale_factor * $this->text_scale_off * $this->xscale->ticks->minor_step);
Severity: Minor
Found in src/graph/Graph.php by phpcodesniffer

Line exceeds 120 characters; contains 186 characters
Open

                Util\JpGraphError::RaiseL(25071); //('You have specified a min value with SetAutoMin() which is larger than the maximum value used for the scale. This is not possible.');
Severity: Minor
Found in src/graph/LinearScale.php by phpcodesniffer

Line exceeds 120 characters; contains 441 characters
Open

            //("You have unfortunately stumbled upon a bug in JpGraph. It seems like the scale range is ".$this->world_size." [for ".$this->type." scale] <br> Please report Bug #01 to info@jpgraph.net and include the script that gave this error. This problem could potentially be caused by trying to use \"illegal\" values in the input data arrays (like trying to send in strings or only NULL values) which causes the autoscaling to fail.");
Severity: Minor
Found in src/graph/LinearScale.php by phpcodesniffer

Line exceeds 120 characters; contains 139 characters
Open

            Util\JpGraphError::RaiseL(25024, $aAxisType); //("JpGraph: Unsupported Y axis type: $aAxisType\nMust be one of (lin,log,int)");
Severity: Minor
Found in src/graph/Graph.php by phpcodesniffer

Line exceeds 120 characters; contains 187 characters
Open

                Util\JpGraphError::RaiseL(25072); //('You have specified a max value with SetAutoMax() which is smaller than the miminum value used for the scale. This is not possible.');
Severity: Minor
Found in src/graph/LinearScale.php by phpcodesniffer

Line exceeds 120 characters; contains 134 characters
Open

                $nbrmajticks = round(($aScale->GetMaxVal() - $aScale->GetMinVal() - $this->text_label_start) / $this->major_step) + 1;
Severity: Minor
Found in src/graph/LinearTicks.php by phpcodesniffer

Line exceeds 120 characters; contains 131 characters
Open

                $yearwidth = $this->GetDayWidth() * ($this->GetNumDaysInYear($year) - $this->GetYearDayNbr($this->iStartDate) + 1);
Severity: Minor
Found in src/graph/GanttScale.php by phpcodesniffer
Severity
Category
Status
Source
Language