RE: GD graph title line break

2006-01-10 Thread Scott Campbell
I believe \n\r will do it for you in GD.


Scott Campbell
Senior Software Developer
Somix Technologies
http://www.somix.com

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark
Zvolanek
Sent: Monday, January 09, 2006 7:12 PM
To: Perl-Win32-Users@listserv.ActiveState.com
Subject: GD graph title line break


Hi,
How do I add new line to the gd graph title?
I tried \n, this did not work.
Thanks
Mark

---
[This E-mail scanned for viruses by Declude Virus]


___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


RE: GD graph title line break

2006-01-10 Thread Mark Zvolanek
Scott, 

\n\r does not work for me.

$my_graph-set(
#   title   = $title,
title   = line 1 \n\r
line 2,
);

I also tried to use preserve_nl = 1,
See image for result.
Thanks
Mark

-Original Message-
From: Scott Campbell [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 10 January 2006 11:42 PM
To: Mark Zvolanek; Perl-Win32-Users@listserv.ActiveState.com
Subject: RE: GD graph title line break

I believe \n\r will do it for you in GD.


Scott Campbell
Senior Software Developer
Somix Technologies
http://www.somix.com

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Mark Zvolanek
Sent: Monday, January 09, 2006 7:12 PM
To: Perl-Win32-Users@listserv.ActiveState.com
Subject: GD graph title line break


Hi,
How do I add new line to the gd graph title?
I tried \n, this did not work.
Thanks
Mark

---
[This E-mail scanned for viruses by Declude Virus]



GDtitle.PNG
Description: GDtitle.PNG
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


Re: GD graph title line break

2006-01-10 Thread Sisyphus

- Original Message - 
From: Mark Zvolanek [EMAIL PROTECTED]
To: Perl-Win32-Users@listserv.ActiveState.com
Sent: Tuesday, January 10, 2006 11:11 AM
Subject: GD graph title line break


Hi,
How do I add new line to the gd graph title?
I tried \n, this did not work.
Thanks
Mark






It's not apparent to me how/if this can be done. I can't find any relevant
documentation, and the samples that ship with the CPAN source distro use
only short, single line, titles. I would contact the author and ask him.
Specify that you're using MS Windows, as that may be relevant.

Cheers,

Rob

___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs


GD graph title line break

2006-01-09 Thread Mark Zvolanek



Hi,
How do I add new 
line to the gd graph title?
I tried "\n", this 
did not work.
Thanks
Mark
___
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs