Commit 8ab690bc authored by metzlerd's avatar metzlerd
Browse files

Fixed warnings on SVGGraph

parent 02b56425
...@@ -332,7 +332,10 @@ class FrxSVGGraph extends FrxRenderer { ...@@ -332,7 +332,10 @@ class FrxSVGGraph extends FrxRenderer {
$style = $styles[0]; $style = $styles[0];
} }
if ($style) $type = $style; if ($style) $type = $style;
$frxattrs = $this->arrayAttributes($config);
// LImit the config
$frxattrs = $this->arrayAttributes(array_intersect_key($config, array_fill_keys(array('path', 'series', 'series_x', 'label', 'group', 'link'), 1 )));
$frxattrs = $this->arrayAttributes($frxattrs);
$frxattrs['renderer'] = 'FrxSVGGraph'; $frxattrs['renderer'] = 'FrxSVGGraph';
$frxattrs['type'] = $type; $frxattrs['type'] = $type;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment