Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: An alternative for Gd?

by samtregar (Abbot)
on Apr 15, 2008 at 16:44 UTC ( #680573=note: print w/replies, xml ) Need Help??


in reply to An alternative for Gd?

I would most definitely use Google Charts for this. I used it on some time-series data recently and it was a breeze. With any luck I may never have to touch GD again!

-sam

Replies are listed 'Best First'.
Re^2: An alternative for Gd?
by Anonymous Monk on Apr 15, 2008 at 18:39 UTC
    With any luck I may never have to touch GD again!

    Just curious: what don't you like about GD?

      Just about everything. The installation, the API, the docs, the way the output from GD::Graph looks, the speed, the font support hassles. About the only good think I can say is that it does work.

      On the other hand, Google Charts has great docs, works fast, looks great, has great anti-aliased fonts and has a decent API (could be better).

      -sam

Re^2: An alternative for Gd?
by atemerev (Beadle) on Apr 15, 2008 at 17:07 UTC
    Since it's going to be a public service with (hopefully) heavy loads, I don't think deferring chart processing to Google Charts is a good idea. Or it is? Have to check first.
      If by public service, you mean browser based, perhaps you should bypass Perl for a purely browser based, Javascripted solution, namely, <canvas>. In which case, not only do you avoid the hit for pushing the data to Google, you can actually avoid the hit for processing in your server, and let the browser do the rendering.

      <canvas> does have some issues (no native text drawing, no native IE support, hard to get static copies of the image, etc.), but its a fairly serviceable solution.

      Here's some pointers:


      Perl Contrarian & SQL fanboy
      Google seems to be pretty good at supporting heavy load! Lots of heavy traffic sites use their free Google Maps service, for example. There's no limit on usage, but they do ask that you inform them if you expect to generate more than 250,000 charts per day (!).

      -sam

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2022-01-17 00:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (50 votes). Check out past polls.

    Notices?