Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
forena
Commits
9d26240b
Commit
9d26240b
authored
Oct 08, 2014
by
metzlerd
Browse files
#2352665
Fix warning when only series is used.
parent
2f288470
Changes
1
Show whitespace changes
Inline
Side-by-side
renderers/FrxSVGGraph.inc
View file @
9d26240b
...
@@ -250,7 +250,7 @@ class FrxSVGGraph extends FrxRenderer {
...
@@ -250,7 +250,7 @@ class FrxSVGGraph extends FrxRenderer {
if
(
!
$path
)
$path
=
$this
->
extract
(
'xpath'
,
$options
);
//Deprecated
if
(
!
$path
)
$path
=
$this
->
extract
(
'xpath'
,
$options
);
//Deprecated
if
(
!
$path
)
$path
=
'*'
;
if
(
!
$path
)
$path
=
'*'
;
$group
=
$this
->
extract
(
'group'
,
$options
);
$group
=
$this
->
extract
(
'group'
,
$options
);
$series
=
@
$attributes
[
'series'
];
$series
=
@
(
array
)
$attributes
[
'series'
];
$label
=
@
$attributes
[
'label'
];
$label
=
@
$attributes
[
'label'
];
$key
=
@
$attributes
[
'key'
];
$key
=
@
$attributes
[
'key'
];
if
(
!
$key
)
$key
=
@
$attributes
[
'label'
];
//Backward compatibility for old graphs.
if
(
!
$key
)
$key
=
@
$attributes
[
'label'
];
//Backward compatibility for old graphs.
...
...
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