[Zope] ZGDChart - insificient height

Smith, Neil Neil.Smith@npower.com
Tue, 26 Mar 2002 12:53:30 -0000


I am using ZGDChart to produce some charts from data from a ZSql method.
The SQL method returns a character string for the first field, and a number
for the second.  I'm having trouble with the length of the character
strings.  If they get fairly long, 26 characters seems to start the trouble,
then I get the message "insificient height" (their spelling, not mine).
Increasing the height of the chart sometimes seems to help, but sometimes
doesn't, and there doesn't seem to be any simple relation between the length
of the strings and the height that the chart needs to be.  A chart that is
500 pixels wide and 250 pixels high might accept character strings of 25
characters, but then for 26 characters it could need to be made 800 pixels
high.

Has anyone come across this problem and made any sense of it?

--
Neil
**********************************************************************
 
The information contained in this e-mail is confidential and intended only for the use of the addressee. If the reader of this message is not the addressee, you are hereby notified that you have received this e-mail in error and you must not copy, disseminate, distribute, use or take any action as a result of the information contained in it.
    
If you have received this e-mail in error, please notify postmaster@npower.com (UK 01384 275454) and delete it immediately from your system.
    
Neither Npower nor any of the other companies in the Innogy group from whom this e-mail originates accept any responsibility for losses or damage as a result of any viruses and it is your responsibility to check attachments (if any) for viruses.

Npower Limited
Registered office: Windmill Hill Business Park, Whitehill Way, Swindon SN5 6PB. Registered in England and Wales: number 3653277

This e-mail may be sent on behalf of a member of the Innogy plc group of companies.

**********************************************************************