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 Task Card & SPEC PRR Discrepancies'
},
xAxis: {
title: {
text: 'ATA',
margin: 20,
rotation: 0,
y: 20,
style: {
fontSize: '1.2em',
fontWeight: 'bold'
}
},
labels: {
style: {
fontSize: '1.2em',
fontWeight: 'bold',
color: (Highcharts.theme && Highcharts.theme.textColor) || 'gray'
},
formatter: function() {
var val = String(this.value);
return val;
}
},
categories: ['05', '08', '11', '12', '20']
},
yAxis: {
min: 0,
title: {
text: 'Total PRR Discrepancies',
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,
backgroundColor: (Highcharts.theme && Highcharts.theme.background2) || 'white',
borderColor:...