diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2013-10-03 02:33:17 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2013-10-03 02:33:17 +0400 |
commit | f6897330a128f36c4ba658c90d593ff4b056da14 (patch) | |
tree | 86b8f50f35412b9eddf14dffbc317099dad8ab19 /plugins/CoreVisualizations/JqplotDataGenerator/Evolution.php | |
parent | c733ecbf7a781e243bc4d6ec018cb35c099cb734 (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.php | 6 |
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(); |