Highcharts Demo
author(s): Torstein Hønsi
by Nic Scozzaro
HTML
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script src="http://code.highcharts.com/highcharts.js"></script>
<div id="container" style="height: 300px"></div>
JavaScript
$(function() {
var chart = new Highcharts.Chart({
chart: {
renderTo: 'container',
type: 'column'
},
yAxis: {
title: {
text: 'axis title',
useHTML: true,
style: {
"-webkit-transform": "rotate(90deg)",
"-moz-transform": "rotate(90deg)",
"-o-transform": "rotate(90deg)"
}
}
},
series: [{
data: [23,45,12,89,123,12,5]}]
});
var chart2 = new Highcharts.Chart({
chart: {
renderTo: 'container2',
type: 'column'
},
yAxis: {
title: {
text: 'axis title',
useHTML: true,
style: {
rotation: 90
}
}
},
series: [{
data: [23,45,12,89,123,12,5]}]
});
});