Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Dynamically-generated graphical content on NT

by gaggio (Friar)
on Aug 16, 2000 at 18:01 UTC ( #28111=perlquestion: print w/replies, xml ) Need Help??
gaggio has asked for the wisdom of the Perl Monks concerning the following question:

What are the best modules to use in a Win32 environment, for dynamically-generated graphical content? Are there any that do not need to use an external graphic program (one that would create bar graphs for example, from scratch)?
  • Comment on Dynamically-generated graphical content on NT

Replies are listed 'Best First'.
Re: Dynamically-generated graphical content on NT
by Shendal (Hermit) on Aug 16, 2000 at 18:38 UTC
    Why not use Win32::GUI or Tk? Using these, you can create whatever GUI (dynamically updating of course) that you want. Of the two, I'd probably suggest using Tk, as it is going to be more portable, has been around longer (Win32::GUI is still beta), and is much better documented.

    There are various references and examples you can use to get yourself started. (shameless plug approaching) I'd begin by looking at examples, such as (shameless plug imminent) my Perl/Tk Chatterbox Client. You may look into Learning Perl/Tk from O'Reilly and Associates.

    Another choice, if you're looking for straight graphing, is the GD module from CPAN. Check its documentation for more information.

    Hope that helps,
      Following on from Shendal's recommendation to check out GD, I think there are several graphing modules which act as wrappers for GD to make creating graphs using GD even easier.

      Check out GIFgraph, PNGgraph et al from CPAN.



      I also think GD::Graph would be a good option. It uses the flexibility of GD and offers you the possibility of creating several kinds of graphs (like bargraphs). HTH Jouke Visser Perl Application Developer
RE: Dynamically-generated graphical content on NT
by d_i_r_t_y (Monk) on Aug 17, 2000 at 04:44 UTC
    sure... for starters, try the GD module by lincoln stein. for graphs, there is GD::Graph, which uses GD.

    be warned though, that while i can heartily recommend the m/^GD/ modules, i haven't ever suffered with, i mean used them with, win32. libgd, the C library underpinning, does claim to be win32 resistant, i mean tolerant.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://28111]
Approved by root
NodeReaper practices exenteration where nobody will notice

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2018-05-20 11:50 GMT
Find Nodes?
    Voting Booth?