Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Font and Alignment in Chart

by OeufMayo (Curate)
on Mar 02, 2001 at 03:28 UTC ( [id://61691]=note: print w/replies, xml ) Need Help??


in reply to Font and Alignment in Chart

Hey,
I don't know how works Chart::Lines, but it seems to be based on GD. There's another module I use, also based on GD, called GD::Graph which can produce graphs with lines and text.

When I have to use this module and produce well formated text, I just have to use GD::Text, which allows me to choose the font, the size, etc... (note that there's also two sub-modules GD::Text::Align and GD::Text::Wrap to handle the alignment and the wraping (obviously)

You may want to play with these modules to see how the fit with Chart::Lines.

Hope this helps!
Briac

<kbd>--
my $OeufMayo = new PerlMonger::Paris({http => 'paris.mongueurs.net'});</kbd>

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://61691]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-23 23:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found