summaryrefslogtreecommitdiffstats
path: root/src/driver/svg.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/svg.php')
-rw-r--r--src/driver/svg.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/driver/svg.php b/src/driver/svg.php
index 69941bb..8f768d2 100644
--- a/src/driver/svg.php
+++ b/src/driver/svg.php
@@ -61,7 +61,6 @@ class ezcGraphSvgDriver extends ezcGraphDriver
$svg = $this->dom->createElement( 'svg' );
$svg->setAttribute( 'xmlns', 'http://www.w3.org/2000/svg' );
- $svg->setAttribute( 'xmlns:xlink', 'http://www.w3.org/1999/xlink' );
$svg->setAttribute( 'width', $this->options->width );
$svg->setAttribute( 'height', $this->options->height );
$svg->setAttribute( 'version', '1.0' );
@@ -549,6 +548,8 @@ class ezcGraphSvgDriver extends ezcGraphDriver
{
$this->createDocument();
+ // @TODO: Inline images instead of linking them
+ /*
$image = $this->dom->createElement( 'image' );
$image->setAttribute( 'x', $position->x );
$image->setAttribute( 'y', $position->y );
@@ -557,6 +558,7 @@ class ezcGraphSvgDriver extends ezcGraphDriver
$image->setAttribute( 'xlink:href', $file );
$this->elements->appendChild( $image );
+ */
}
/**
OpenPOWER on IntegriCloud