GCMeter Class Reference

Inherits er::googlechart::components::GCAbstractChart.

Collaboration diagram for GCMeter:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GCMeter (String name, NSDictionary associations, WOElement element)

Protected Member Functions

void addQueryParameters (ERXMutableURL chartUrl, WOResponse response, WOContext context)
GCAbstractEncoding encoding (List< List< Number >> data, WOResponse response, WOContext context)
boolean normalize (WOResponse response, WOContext context)

Protected Attributes

WOAssociation _label


Detailed Description

The Google-o-meter (see http://code.google.com/apis/chart/#gom).

data the array, or array of arrays, of data size "wxh" format chart size ("300x400") width the width of the chart height the height of the chart colors an array of color values (for lines, bars, pie slices) backgroundStyle "solid", "gradient", or "stripes" background the solid color of the background custom custom query string parameters to append id the id of the img tag class the class of the img tag alt the alt text of the img tag encoding the explicit chart encoding to use ("simple", "extended", "text") normalize if true, values will be normalized relative to the max value maxValue if false, normalization is off or set to a number to override the max value scaling if true, numbers will be scaled with an automatic min/max, or set to min/max string values (see http://code.google.com/apis/chart/#data_scaling) label the label for the meter pointer

Author:
mschrag

Constructor & Destructor Documentation

GCMeter ( String  name,
NSDictionary  associations,
WOElement  element 
)


Member Function Documentation

void addQueryParameters ( ERXMutableURL  chartUrl,
WOResponse  response,
WOContext  context 
) [protected]

Reimplemented from GCAbstractChart.

GCAbstractEncoding encoding ( List< List< Number >>  data,
WOResponse  response,
WOContext  context 
) [protected]

Reimplemented from GCAbstractChart.

boolean normalize ( WOResponse  response,
WOContext  context 
) [protected]

Reimplemented from GCAbstractChart.


Member Data Documentation

WOAssociation _label [protected]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:18 2012 for Project Wonder by  doxygen 1.5.8