Thursday, December 4, 2008

Google v Microsoft "Chart" Components

 

Microsoft is offering Chart Controls "free". See: New ASP.NET Charting Control: <asp:chart runat="server"/>

In the mean time Google provides the same thing via their online API: See Google Chart API. The 3d piechart on the right is built dynamically using the is url: http://chart.apis.google.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl=Hello|World

Change to a Two dimensional pie chart (cht=p): http://chart.apis.google.com/chart?cht=p&chd=t:60,40&chs=250x100&chl=Hello|World

Or a barchart (cht=bvs): http://chart.apis.google.com/chart?cht=bvs&chd=t:60,40&chs=250x100&chl=Hello|World

Or a QR code (cht=qr): http://chart.apis.google.com/chart?chs=150x150&cht=qr&chl=Hello%20world&choe=UTF-8

QR code

And if you're building a dashboard, what about a Google-o-meter (cht=gom): http://chart.apis.google.com/chart?chs=225x125&cht=gom&chd=t:70&chl=Hello

Google-o-meter with default red to green coloring

No comments: