Highcharts Demo
author(s): Torstein Hønsi
by Black Label
HTML
<script src="https://code.highcharts.com/highcharts.js"></script>
<div id="container"></div>
<div id="container2"></div>
JavaScript
Highcharts.chart('container', {
title: {
text: 'without rotation'
},
series: [{
type: 'line',
dataLabels: {
enabled: true,
align: 'right',
verticalAlign: 'bottom',
/* rotation: 1 */
},
data: [4, 3, 5, 6, 2, 3]
}]
});
Highcharts.chart('container2', {
title: {
text: 'with rotation',
},
series: [{
type: 'line',
dataLabels: {
enabled: true,
align: 'right',
verticalAlign: 'bottom',
rotation: 1
},
data: [4, 3, 5, 6, 2, 3]
}]
});