http://www.perlmonks.org?node_id=907532


in reply to client wants a pretty gauge from Tk::Gauge

I know you would probably want something that's more "native" for your solution, but Google has a Image Charts library where you would send a GET HTTP request and receive the binary image data back. They also have a next generation Visualization / Charts library, but that would be harder to incorporate into a desktop application, since it relies on JavaScript.

  • Comment on Re: client wants a pretty gauge from Tk::Gauge

Replies are listed 'Best First'.
Re^2: client wants a pretty gauge from Tk::Gauge
by pashanoid (Scribe) on May 31, 2011 at 20:37 UTC
    Thank you! You know, I just figured it out an hour ago! I'm using canvas and putting the image of the gauge in my script via a base64 encode. It's somewhat huge, but here it goes:

      Nicely done. For what it's worth, Tk::Zinc, is an improved canvas that will let you use semi-transparency, matrix rotations, etc. You can have semi-transparent gradients of color, which make things look really professional, like simulated backlighting to the guage, etc. If you are interested, see the Zinc demo, or here is a simple example.


      I'm not really a human, but I play one on earth.
      Old Perl Programmer Haiku ................... flash japh