summaryrefslogtreecommitdiffstats
path: root/src/element
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2007-03-08 12:01:24 +0000
committerKore Nordmann <github@kore-nordmann.de>2007-03-08 12:01:24 +0000
commitb08ae56b53938333b051b91b0a1f912428864950 (patch)
tree68f089c05feab87cbaf0c3cfcd36407b3cce755f /src/element
parenteff7a30681180181dc22b9500e6db45a7a916183 (diff)
downloadzetacomponents-graph-b08ae56b53938333b051b91b0a1f912428864950.zip
zetacomponents-graph-b08ae56b53938333b051b91b0a1f912428864950.tar.gz
- Added feature #9511: Added helper functions to create image maps an link SVG
images in ezcGraphTools
Diffstat (limited to 'src/element')
-rw-r--r--src/element/legend.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/element/legend.php b/src/element/legend.php
index 3ed1060..8cf7473 100644
--- a/src/element/legend.php
+++ b/src/element/legend.php
@@ -167,6 +167,7 @@ class ezcGraphChartElementLegend extends ezcGraphChartElement
{
$this->labels[] = array(
'label' => $dataset->label->default,
+ 'url' => $dataset->url->default,
'color' => $dataset->color->default,
'symbol' => ( $dataset->symbol->default === null ?
ezcGraph::NO_SYMBOL :
@@ -188,6 +189,7 @@ class ezcGraphChartElementLegend extends ezcGraphChartElement
{
$this->labels[] = array(
'label' => $label,
+ 'url' => $dataset->url[$label],
'color' => $dataset->color[$label],
'symbol' => ( $dataset->symbol[$label] === null ?
ezcGraph::NO_SYMBOL :
OpenPOWER on IntegriCloud