I am trying to integrate \"pChart\" with my PHP code. When I am trying to run the samples it gives me an error stating call to undefined function imagecreatetruecolor<
call to undefined function imagecreatetruecolor<
I met this problem just now. You should exec sudo apt install php7.0-gd or vim your php.ini reopen extension=php_gd2.dll
sudo apt install php7.0-gd