graph » shapes » options

choropleth

[ root » graph » shapes » options ]




AttributeTypeDescription
bboxArray.<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
choroplethObjectSets styling options for choropleth maps.
Introduced in: v2.8.4
Chart types: Interactive-maps
colorScale
color-scale
BooleanSets 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
groupsArray.<String>Configures the group.
Default Value: []
Introduced in: v2.8.0
Chart types: Interactive-maps
heightNumberSets the object's height.
Default Value: 0
ignoreArray.<String>Items to ignore.
Chart types: Interactive-maps
nameStringThe name of the ZingChart map to load (e.g., world-countries)
Chart types: Interactive-maps
offsetX
offset-x
NumberAdjust the x position of the map.
Chart types: Interactive-maps
offsetY
offset-y
NumberAdjust the y position of the map.
Chart types: Interactive-maps
panningBooleanEnable or disable panning.
Default Value: true
Introduced in: v2.6.0
Chart types: Interactive-maps
scaleBooleanSets the scale of the chart.
Default Value: true
Chart types: Interactive-maps
scrollingBooleanEnable or disable scrolling.
Default Value: true
Introduced in: v2.6.0
Chart types: Interactive-maps
styleObjectSets styling options for the chart.
Chart types: Interactive-maps
widthNumberSets the object's width.
Default Value: 0
zoomNumberSets the zoom level of the map at chart render. Provide an integer value.
Default Value: 1
Chart types: Interactive-maps
zoomingBooleanEnable or disable zooming.
Default Value: true
Introduced in: v2.6.0
Chart types: Interactive-maps