Create bubble chart with data labels
Description
The following code shows how to create bubble chart with data labels.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'></script>
<script type='text/javascript'>
$(function () {<!-- w w w . j av a2 s .c o m-->
$('#container').highcharts({
chart: {
type: 'bubble',
plotBorderWidth: 1,
zoomType: 'xy'
},
series: [{
data: [
[91, 81, 43],
[98, 41, 89],
[51, 40, 43],
[41, 22, 44],
[58, 24, 40],
[78, 47, 34],
[55, 54, 43],
[18, 44, 70],
[42, 44, 48],
[31, 54, 49],
[31, 18, 97],
[49, 94, 43],
[94, 23, 23],
[44, 43, 42]
],
dataLabels: {
enabled: true
}
}]
});
});
</script>
</head>
<body>
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/highcharts-more.js"></script>
<div id="container" style="height: 400px"></div>
</body>
</html>