Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
X Lib
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
XLibs
X Lib
Commits
23612e1f
Commit
23612e1f
authored
Dec 08, 2015
by
Alex Ne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Деление на ноль...
parent
c4504604
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Linear.php
Graphs/Linear.php
+1
-1
No files found.
Graphs/Linear.php
View file @
23612e1f
...
@@ -67,7 +67,7 @@ class X_Graphs_Linear
...
@@ -67,7 +67,7 @@ class X_Graphs_Linear
$IDX
=
0
;
$IDX
=
0
;
foreach
(
$xLine
as
$key
=>
$value
)
foreach
(
$xLine
as
$key
=>
$value
)
{
{
$X
=
(
(
$p_WIDTH
*
(
$IDX
)
/
$x_count
)
+
$X1
)
;
$X
=
(
$x_count
>
0
)
?
((
$p_WIDTH
*
(
$IDX
)
/
$x_count
)
+
$X1
)
:
0
;
$x_data_names
[
$key
]
=
$X
;
$x_data_names
[
$key
]
=
$X
;
imagestring
(
$this
->
image
,
1
,
$X
,
$Y2
+
2
,
$value
,
$this
->
colors
[
5
]
);
imagestring
(
$this
->
image
,
1
,
$X
,
$Y2
+
2
,
$value
,
$this
->
colors
[
5
]
);
$IDX
++
;
$IDX
++
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment