Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://907532]
help
Chatterbox?
[ambrus]: Some of them are rather embarrassing historical misfeatures. One I partly worked around right now as I told him.
[holli]: `?
[choroba]: yes
[holli]: yes, that's a great one. it's one the yapc::na channel for quite a while now
[holli]: 'on
[choroba]: there was a slightly improved version in Amterdam
[choroba]: s/mte/mste/
[holli]: meh, i never get used to this keyboard
[holli]: i didnt pay attention when i bought it. it's one of those where backspace is just one unit wide
[holli]: in what way improved?

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2017-11-21 13:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (302 votes). Check out past polls.

    Notices?