diff --git a/core/ViewDataTable/GenerateGraphData.php b/core/ViewDataTable/GenerateGraphData.php index 2fa35c87b17..3d65f38bedd 100644 --- a/core/ViewDataTable/GenerateGraphData.php +++ b/core/ViewDataTable/GenerateGraphData.php @@ -91,7 +91,14 @@ public function setSelectableColumns($columnsNames) { // the array contains values if enableShowGoals() has been used // add $columnsNames to the beginning of the array - $this->selectableColumns = array_merge($columnsNames, $this->selectableColumns); + if (Piwik_Common::getRequestVar('seriesPicker', true)) + { + $this->selectableColumns = array_merge($columnsNames, $this->selectableColumns); + } + else + { + $this->selectableColumns = array(); + } } /**