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-16 07:13:18 +0400
committerThomas Steur <thomas.steur@gmail.com>2013-10-16 07:13:18 +0400
commit1116ccf0e212d04022790ff8284b2f2e41c1d9fa (patch)
tree610a16ea58812e15c915330a356d6f1fe4da20ca /plugins/ExampleUI
parentd69b19dc16b9c9abedbd649be65b46c306918419 (diff)
fix treemap fails to load with a fatal error because it tries to load metric nb_visits
Diffstat (limited to 'plugins/ExampleUI')
-rw-r--r--plugins/ExampleUI/CustomDataTable.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/ExampleUI/CustomDataTable.php b/plugins/ExampleUI/CustomDataTable.php
index f0bfb4ca07..3f8b780a81 100644
--- a/plugins/ExampleUI/CustomDataTable.php
+++ b/plugins/ExampleUI/CustomDataTable.php
@@ -25,6 +25,7 @@ class CustomDataTable
$view->requestConfig->filter_sort_column = 'label';
$view->requestConfig->filter_sort_order = 'asc';
$view->requestConfig->filter_limit = 24;
+ $view->config->columns_to_display = array('label', 'value');
$view->config->y_axis_unit = '°C'; // useful if the user requests the bar graph
$view->config->show_exclude_low_population = false;
$view->config->show_table_all_columns = false;