Set chart subtitle
Description
The following code shows how to set chart subtitle.
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 () {<!-- www . ja va 2s. c om-->
$('#container').highcharts({
chart: {
},
title: {
text: 'Chart demo'
},
subtitle: {
text: 'This si the subtitle'
},
series: [{
type: 'column',
data: [129.9, 171.5, 106.4, 19.2, 14.0, 176.0, 35.6, 148.5, 16.4, 194.1, 5.6, 154.4]
}, {
data: [161.4, 14.1, 195.6, 14.4, 129.9, 11.5, 161.4, 19.2, 114.0, 16.0, 15.6, 48.5]
}]
});
});
</script>
</head>
<body>
<script src="http://code.highcharts.com/highcharts.js"></script>
<div id="container" style="height: 400px"></div>
</body>
</html>