mapType
Specifies the type of map (region of globe displayed).
Type
A Map Type constant (below) or one of the following strings: 'U.S.', 'Asia', 'Canada', 'Europe', 'Mexico' 'World'.
Chart['MAP_TYPE_U.S.'] // Map of United States
Chart['MAP_TYPE_ASIA'] // Map of Asia
Chart['MAP_TYPE_CANADA'] // Map of Canada
Chart['MAP_TYPE_EUROPE'] // Map of Europe
Chart['MAP_TYPE_MEXICO'] // Map of Mexico
Chart['MAP_TYPE_WORLD'] // Map of entire world
Example
Chart1.mapType = Chart['MAP_TYPE_U.S.'];
Chart1.mapType = 'U.S.'
|
Either syntax below can be used in component script:
For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required. |