summaryrefslogtreecommitdiffstats
path: root/src/tools.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2007-03-08 12:11:04 +0000
committerKore Nordmann <github@kore-nordmann.de>2007-03-08 12:11:04 +0000
commit3ad0bb541ac4861644ed56bd349a43e58ab189a3 (patch)
treed10d4e38e0def03f6063bd3bdf09762b2bacf6ca /src/tools.php
parentb08ae56b53938333b051b91b0a1f912428864950 (diff)
downloadzetacomponents-graph-3ad0bb541ac4861644ed56bd349a43e58ab189a3.zip
zetacomponents-graph-3ad0bb541ac4861644ed56bd349a43e58ab189a3.tar.gz
- Actually use link style property from SVG driver
Diffstat (limited to 'src/tools.php')
-rw-r--r--src/tools.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools.php b/src/tools.php
index 690a47f..47c53da 100644
--- a/src/tools.php
+++ b/src/tools.php
@@ -144,7 +144,7 @@ class ezcGraphTools
{
$element = $xpath->query( '//*[@id = \'' . $id . '\']' )->item( 0 );
- $element->setAttribute( 'style', $element->getAttribute( 'style' ) . ' cursor: pointer;' );
+ $element->setAttribute( 'style', $element->getAttribute( 'style' ) . ' cursor: ' . $chart->driver->options->linkCursor . ';' );
$element->setAttribute( 'onclick', "top.location = '{$url}'" );
}
}
@@ -164,7 +164,7 @@ class ezcGraphTools
{
$element = $xpath->query( '//*[@id = \'' . $id . '\']' )->item( 0 );
- $element->setAttribute( 'style', $element->getAttribute( 'style' ) . ' cursor: pointer;' );
+ $element->setAttribute( 'style', $element->getAttribute( 'style' ) . ' cursor: ' . $chart->driver->options->linkCursor . ';' );
$element->setAttribute( 'onclick', "top.location = '{$url}'" );
}
}
OpenPOWER on IntegriCloud