Added experimental token to display Automatic Combined Graphs TICKETS #3461

This commit is contained in:
fermin831 2016-04-25 13:58:48 +02:00
parent 0538621ace
commit 5dc47e3a5f
1 changed files with 2 additions and 1 deletions

View File

@ -514,7 +514,8 @@ function reports_get_report_types ($template = false, $not_editor = false) {
$types['sql_graph_hbar'] = array('optgroup' => __('Graphs'),
'name' => __('SQL horizonal bar graph'));
}
if ($template && !defined('METACONSOLE')) {
if ($template && (!defined('METACONSOLE') or $config['experimental_v_word'] == 1)) {
$types['automatic_graph'] = array('optgroup' => __('Graphs'),
'name' => __('Automatic combined Graph'));
}