CEO Line Chart
by Danielle Parkinson
HTML
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://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: {
type: 'spline',
width: 1100,
height:500,
backgroundColor: '#fff'
},
title: {
text: ' '
},
xAxis: {
categories: ['Strongly agree', 'Agree', 'Neither','Disagree', 'Strongly disagree'],
title: {
text: null
},
labels: {
style: {
fontFamily: 'Arial',
fontSize: '12px',
color: '#333333',
}
},
},
yAxis: {
tickInterval: 10,
title: {
text: ' ',
},
labels: {
style: {
fontFamily: 'Arial',
fontSize: '12px',
color: '#333333',
}
},
},
tooltip: {
valueSuffix: ' millions'
},
plotOptions: {
column: {
dataLabels: {
y: 20,
color: '#ffffff',
enabled: true
}
}
},
legend: {
layout: 'horizontal',
borderWidth: 0,
itemStyle: {
fontWeight: 'normal'
}
},
credits: {
enabled: false
},
series: [{
name: 'I am concerned about the number of additional mission-critical issues that I have not grown up with/experienced previously in my career that I need to take a leadership position on',
data: [11,26,25,13,25],
dataLabels: {
enabled:...