diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2013-10-23 05:40:45 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2013-10-23 05:40:45 +0400 |
commit | 375a83c961c5f57e8df2582fb456e23e2639929f (patch) | |
tree | bd64da267a2cf63e5cb8b1c43765a2e6dc13d388 /plugins/VisitorInterest/VisitorInterest.php | |
parent | 79a2600beb09e65910573286accd2ab60ac28b3a (diff) |
display only visits metric and no series picker
Diffstat (limited to 'plugins/VisitorInterest/VisitorInterest.php')
-rw-r--r-- | plugins/VisitorInterest/VisitorInterest.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/VisitorInterest/VisitorInterest.php b/plugins/VisitorInterest/VisitorInterest.php index 6651c4d4ca..c587784fd7 100644 --- a/plugins/VisitorInterest/VisitorInterest.php +++ b/plugins/VisitorInterest/VisitorInterest.php @@ -192,8 +192,11 @@ class VisitorInterest extends \Piwik\Plugin $view->config->show_limit_control = false; $view->config->show_search = false; $view->config->show_table_all_columns = false; + $view->config->columns_to_display = array('label', 'nb_visits'); + $view->config->show_series_picker = false; if ($view->isViewDataTableId(Graph::ID)) { + $view->config->selectable_columns = array(); $view->config->max_graph_elements = 10; } } @@ -211,8 +214,11 @@ class VisitorInterest extends \Piwik\Plugin $view->config->show_limit_control = false; $view->config->show_search = false; $view->config->show_table_all_columns = false; + $view->config->columns_to_display = array('label', 'nb_visits'); + $view->config->show_series_picker = false; if ($view->isViewDataTableId(Graph::ID)) { + $view->config->selectable_columns = array(); $view->config->max_graph_elements = 10; } } |