webMapStyle

For a Map Chart that uses a Mapbox web map background (see webMap), sets the Mapbox map style.

Type

String

A Mapbox style available to current the Mapbox account:

'Blank'
'Outdoors'
'Monochrome'
'Streets'
'Satellite Streets'
'Basic'

Examples

Chart1.webMapStyle = 'Satellite Streets';

webmapStyle1

Chart1.webMapStyle = 'Monochrome';

webmapStyle2

Either syntax below can be used in component script:

webMapStyle          // unqualified
Chart1.webMapStyle   // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.