Merge branch '417-Labels-de-las-gráficas-en-Informes-PDF-se-ven-muy-pequeños-fix-2' into 'develop'

Fix pdf graph labels 2 - #417

See merge request artica/pandorafms!1032
This commit is contained in:
vgilc 2017-11-07 12:04:57 +01:00
commit 3c920e9d10
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ function vbar_graph($flash_chart, $chart_data, $width, $height,
if(strpos($key, ' - ') != -1){
$key_temp = explode(" - ",$key);
$key_temp[0] = $key_temp[0]." \n";
$key_temp[1]= '...'.substr($key_temp[1],-10);
$key_temp[1]= '...'.substr($key_temp[1],-15);
$key2 = $key_temp[0].$key_temp[1];
io_safe_output($key2);
}