graph » shapes » options
choropleth
[ root » graph » shapes » options ]
Attribute | Type | Description |
---|---|---|
bbox | Array.<Number> | An array of 4 numeric values representing the bounding box of the map. Can be used to layer maps on top of each other. Use the `getItemInfo()` method to obtain the `bbox` coordinates of a particular map item. Chart types: Interactive-maps |
choropleth | Object | Sets styling options for choropleth maps. Introduced in: v2.8.4 Chart types: Interactive-maps |
colorScale color-scale | Boolean | Sets whether the map is also combined with a color scale. The color scale object needs to be created with the color scale plugin. Default Value: false Chart types: Interactive-maps |
groups | Array.<String> | Configures the group. Default Value: [] Introduced in: v2.8.0 Chart types: Interactive-maps |
height | Number | Sets the object's height. Default Value: 0 |
ignore | Array.<String> | Items to ignore. Chart types: Interactive-maps |
name | String | The name of the ZingChart map to load (e.g., world-countries) Chart types: Interactive-maps |
offsetX offset-x | Number | Adjust the x position of the map. Chart types: Interactive-maps |
offsetY offset-y | Number | Adjust the y position of the map. Chart types: Interactive-maps |
panning | Boolean | Enable or disable panning. Default Value: true Introduced in: v2.6.0 Chart types: Interactive-maps |
scale | Boolean | Sets the scale of the chart. Default Value: true Chart types: Interactive-maps |
scrolling | Boolean | Enable or disable scrolling. Default Value: true Introduced in: v2.6.0 Chart types: Interactive-maps |
style | Object | Sets styling options for the chart. Chart types: Interactive-maps |
width | Number | Sets the object's width. Default Value: 0 |
zoom | Number | Sets the zoom level of the map at chart render. Provide an integer value. Default Value: 1 Chart types: Interactive-maps |
zooming | Boolean | Enable or disable zooming. Default Value: true Introduced in: v2.6.0 Chart types: Interactive-maps |