JSFiddle - React, Tailwind, and code Playground
by no1uknow
HTML
<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
JavaScript
$(function () {
$('#container').highcharts({
chart: {
height: 600,
type: 'column'
},
title: {
text: 'ATA 05 - TRAX Task Card Discrepancies'
},
xAxis: {
title: {
style: {
fontSize: '1.2em',
fontWeight: 'Bold'
}
},
labels: {
rotation: -55,
style: {
fontSize: '13px',
color: (Highcharts.theme && Highcharts.theme.textColor) || 'gray'
},
formatter: function() {
var val = String(this.value);
return val;
}
},
categories: ['MDMSL Record', 'Description', 'First Schedule Hours', 'First Schedule Cycles', 'First Schedule Days', 'First Schedule Earliest', 'Repeat Schedule Hours', 'Repeat Schedule Cycles', 'Repeat Schedule Days', 'Repeat Schedule Earliest', 'Aircraft']
},
yAxis: {
min: 0,
title: {
text: 'Total TRAX Task Cards',
style: {
fontSize: '1.2em',
fontWeight: 'bold'
}
},
stackLabels: {
enabled: true,
style: {
fontSize: '1.2em',
fontWeight: 'bold',
color: (Highcharts.theme && Highcharts.theme.textColor) || 'gray'
}
}
},
legend: {
// align: 'right',
// x: -70,
// verticalAlign: 'top',
// y: 20,
// floating: true,
padding:...