more size leyends graphs meta

This commit is contained in:
marcos 2021-06-03 08:22:40 +02:00
parent 612cc8661e
commit e75af2b8b6
1 changed files with 8 additions and 1 deletions

View File

@ -829,10 +829,17 @@ function grafico_modulo_sparse($params)
$params['stacked'] = 0;
}
$font_size = $config['font_size'];
// If is metaconsole set 10pt size value.
if (is_metaconsole()) {
$font_size = '10';
}
$params['grid_color'] = '#C1C1C1';
$params['legend_color'] = '#636363';
$params['font'] = 'lato';
$params['font_size'] = $config['font_size'];
$params['font_size'] = $font_size;
$params['short_data'] = $config['short_module_graph_data'];
if ($params['only_image']) {