public class GCMap extends GCAbstractChart
Name | Description |
---|---|
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 (default color followed by gradient colors) |
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 |
area | the geographic area to show ("africa", "asia", "europe", "middle_east", "south_america", "usa", "world") |
regions | the regions to color |
Modifier and Type | Field and Description |
---|---|
protected WOAssociation |
_area |
protected WOAssociation |
_regions |
_alt, _axisLabels, _background, _backgroundStyle, _chartBackground, _chartBackgroundStyle, _class, _colors, _custom, _data, _encoding, _fillArea, _gridBlankSize, _gridLines, _gridLineSize, _gridXStep, _gridYStep, _height, _id, _labeledAxes, _legend, _lineStyles, _maxValue, _normalize, _rangeMarkers, _scaling, _shapeMarkers, _size, _title, _titleColor, _titleSize, _transparency, _width
_ConstructorParameters
Constructor and Description |
---|
GCMap(String name,
NSDictionary associations,
WOElement element) |
Modifier and Type | Method and Description |
---|---|
protected void |
addQueryParameters(ERXMutableURL chartUrl,
WOResponse response,
WOContext context) |
protected GCAbstractEncoding |
encoding(List<List<Number>> data,
WOResponse response,
WOContext context) |
protected boolean |
normalize(WOResponse response,
WOContext context) |
appendToResponse, checkData, encode, maxValue, scaling, styleKey
toString
invokeAction, takeValuesFromRequest
protected WOAssociation _area
protected WOAssociation _regions
public GCMap(String name, NSDictionary associations, WOElement element)
protected boolean normalize(WOResponse response, WOContext context)
normalize
in class GCAbstractChart
protected GCAbstractEncoding encoding(List<List<Number>> data, WOResponse response, WOContext context)
encoding
in class GCAbstractChart
protected void addQueryParameters(ERXMutableURL chartUrl, WOResponse response, WOContext context)
addQueryParameters
in class GCAbstractChart
Copyright © 2002 – 2024 Project Wonder.