Hey there - your Twitter counter is brilliant ! I don't think Google would frown too harshly for using the API in edge- cases and other assorted hacking pursuits.
In the past I have posted a couple of strange beasts using the Charts API - one of them being a "Wind Rose" http://www.carloslabs.com/node/18 - - - Back to the squares issues: I'm not sure you can create "stand-alone" squares and use them on top of a chart. Maybe I'm not sure about the use-case you have in mind, but I would probably start by using big blocky GIFS - perhaps embedding them as an image in the CSS file- and then positioning those on top of the chart. Have fun CarlosM :carloslabs: On Jul 20, 10:57 pm, Bjoern <[email protected]> wrote: > Hi, > > just wondering if anybody has code to generate just a colored square > with the Google Charts API? I want to create the "labels" in HTML and > use the colored squares for the bullet points, to match the colors in > the pie chart. > > Since it is all done in Javascript, I need the ability to create > images of squares of varying colors... > > I hope it would be OK with Google. I have also created another > "extreme" use case a while ago. For my "Twitter-This" Link generator I > use the Charts API to create just images of numbers, so that I can > show them as a counter for remaining characters in the background > image of the web form - > seehttp://blog.blinker.net/2009/06/05/creating-twitter-this-links/#twitt... > Björn --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Chart API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-chart-api?hl=en -~----------~----~----~----~------~----~------~--~---
