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:
commit
3c920e9d10
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue