Jump to content
The Uniform Server Community

nicFranck

Member
  • Posts

    1
  • Joined

  • Last visited

Posts posted by nicFranck

  1. Hi there,

     

    The problem is that the var $FontName (or $this->FontName) of the pChart-class is initiated as NULL. Unless you change that value by using setFontProperties, this NULL is used as the path to that ttf-file.

     

    So please set this by using for example:

    $mychart->setFontProperties("Fonts/pf_arma_five.ttf",12).

     

    It worked for me

     

    O I'm sorry, I tought that this was about pChart, because it also uses imageftbbox. I just couldn't delete this answer. So don't mind.

×
×
  • Create New...