From 2ae4aca687ba184a56cd36456348e5118f815789 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Thu, 30 Jun 2011 14:38:13 +0000 Subject: [PATCH] Added support of 'drill-down' (i.e on_click) on bar charts SVN:trunk[1313] --- pages/php-ofc-library/ofc_bar_glass.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pages/php-ofc-library/ofc_bar_glass.php b/pages/php-ofc-library/ofc_bar_glass.php index 2fd445fe26..671bc227a8 100644 --- a/pages/php-ofc-library/ofc_bar_glass.php +++ b/pages/php-ofc-library/ofc_bar_glass.php @@ -47,6 +47,12 @@ class bar_value { $this->tip = $tip; } + + function on_click( $event ) + { + $tmp = 'on-click'; + $this->$tmp = $event; + } } class bar extends bar_base