Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: client wants a pretty gauge from Tk::Gauge

by Sinistral (Prior)
on May 31, 2011 at 20:18 UTC ( #907532=note: print w/replies, xml ) Need Help??

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://907532]
and all is quiet...

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