GD Library behaviour

Discussion in 'PHP' started by Cobnut, Sep 13, 2007.

  1. #1
    I'm developing a 'live' stats package and using the GD library to draw graphs of my data. At present I'm using only bar charts and these work fine both 'live' on the Net and on my dev server here locally. However, my client would like pie charts and, having found an excellent code resource for this, I've found that I can generate pies on my Net host but my local dev server doesn't display the image.

    I'll stress that at least the basic GD functions are fully working locally - I can generate all sorts of images without any problems and it's all shown as working in php info. Clearly my net host is running some sort of additional extension that I'm not but I'm at a loss to know what it is. The only functions the pie chart uses that the bars don't (as far as I can tell) are imagefilledellipse and imagefilledarc.

    I'm going to continue playing but I'm under something of a deadline so any helpful responses here would be very gratefully received. Unfortunately, the data is sensitive so I can't provide a link to the real site.

    Any ideas?

    Jon
     
    Cobnut, Sep 13, 2007 IP