Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@gmail.com>2013-10-03 02:33:17 +0400
committerThomas Steur <thomas.steur@gmail.com>2013-10-03 02:33:17 +0400
commitf6897330a128f36c4ba658c90d593ff4b056da14 (patch)
tree86b8f50f35412b9eddf14dffbc317099dad8ab19 /plugins/CoreVisualizations/JqplotDataGenerator/Evolution.php
parentc733ecbf7a781e243bc4d6ec018cb35c099cb734 (diff)
refs #3994 evolution graph failed to load if DataTable object is given
Diffstat (limited to 'plugins/CoreVisualizations/JqplotDataGenerator/Evolution.php')
-rw-r--r--plugins/CoreVisualizations/JqplotDataGenerator/Evolution.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/CoreVisualizations/JqplotDataGenerator/Evolution.php b/plugins/CoreVisualizations/JqplotDataGenerator/Evolution.php
index 7269146de7..13b36416b8 100644
--- a/plugins/CoreVisualizations/JqplotDataGenerator/Evolution.php
+++ b/plugins/CoreVisualizations/JqplotDataGenerator/Evolution.php
@@ -31,11 +31,11 @@ class Evolution extends JqplotDataGenerator
{
// if the loaded datatable is a simple DataTable, it is most likely a plugin plotting some custom data
// we don't expect plugin developers to return a well defined Set
- /* TODO remove completely? unecessary if DataTableCollection is created
+
if ($dataTable instanceof DataTable) {
- parent::initChartObjectData($dataTable);
+ parent::initChartObjectData($dataTable, $visualization);
return;
- }*/
+ }
// the X label is extracted from the 'period' object in the table's metadata
$xLabels = array();