Can we change the bubble size dynamically on High Maps
Is there any way to change the size of each bubble in High Maps Map Bubble. I want to display each bubble with some dynamic value for example Revenue of each quarter. Is there any way we can achieve that in High Maps?
This can be done using series.setData (http://api.highcharts.com/highmaps#Series.setData) or point.update (http://api.highcharts.com/highmaps#Point.update).
-
Kaustubh Deokule commented
Here Is My Partial Code for displaying bubbles on the map. So here how we can specify the option to change size of bubble in Series.setData()?
series: [{
name: 'Basemap',
mapData: Highcharts.maps['custom/world-continents'],
borderColor: '#606066',
nullColor: 'rgba(200, 200, 200, 0.2)',
showInLegend: false
}, {
name: 'Separators',
type: 'mapline',
data:model,
color: '#101010',
enableMouseTracking: false,
showInLegend: false
},
{
type: 'mapbubble',
dataLabels: {
enabled: true,
format: '{point.name}'
},
// Specify points using lat/lon
name: 'World Area Groups',
showInLegend: false,
color: Highcharts.getOptions().colors[2],
data:model
}]
});