diff options
Diffstat (limited to 'plugins/ExampleUI/ExampleUI.php')
-rw-r--r-- | plugins/ExampleUI/ExampleUI.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/ExampleUI/ExampleUI.php b/plugins/ExampleUI/ExampleUI.php index 79b79d7d81..11b567c00e 100644 --- a/plugins/ExampleUI/ExampleUI.php +++ b/plugins/ExampleUI/ExampleUI.php @@ -39,6 +39,10 @@ class ExampleUI extends \Piwik\Plugin $this->addSubMenu('Tag clouds', 'tagClouds', 4); $this->addSubMenu('Sparklines', 'sparklines', 5); $this->addSubMenu('Evolution Graph', 'evolutionGraph', 6); + + if (class_exists("Piwik\\Plugins\\TreemapVisualization\\Treemap")) { + $this->addSubMenu('Treemap', 'treemap', 7); + } } function addTopMenuItems() |