Merge branch 'ent-7330-nombre-alias-de-agentes-largos-se-ven-mal-en-sql-vertical-graph' into 'develop'

fixed agent name flot-x-axis in sql vertical graph

See merge request artica/pandorafms!4339
This commit is contained in:
Daniel Rodriguez 2021-09-23 13:48:14 +00:00
commit 9852c711eb
1 changed files with 1 additions and 1 deletions

View File

@ -3755,7 +3755,7 @@ function graph_custom_sql_graph(
0, 0,
floor($SQL_GRAPH_MAX_LABEL_SIZE / 2) floor($SQL_GRAPH_MAX_LABEL_SIZE / 2)
); );
$label .= '...'; $label .= '...<br>';
$label .= substr( $label .= substr(
$first_label, $first_label,
floor(-$SQL_GRAPH_MAX_LABEL_SIZE / 2) floor(-$SQL_GRAPH_MAX_LABEL_SIZE / 2)