CEO Donut

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: 'line',
                width: 950,
                height: 220,
                backgroundColor: '#fff'
            },
            title: {
                text: ' '
            },
            xAxis: {
                categories: ['Mar 16', 'Apr 16', 'May 16', 'Jun 16','Jul 16', 'Aug 16', 'Sep 16', 'Oct 16', 'Nov 16', 'Dec 16', 'Jan 17', 'Feb 17', 'Mar 17', 'Apr 17', 'May 17', 'Jun 17'],
                title: {
                    text: null
                },
                        labels: {
            style: {
                    fontFamily: 'Arial',
                    fontSize: '12px',
                    color: '#676767'
            }
        },

            },
            yAxis: {
                min: 0,
                max: 20,
                tickInterval: 5,
                title: {
                    text: ' ',
                },
                        labels: {
            style: {
                    fontFamily: 'Arial',
                    fontSize: '12px',
                    color: '#676767'
            }
        },
            },
                plotOptions: {
		series: {
		    stickyTracking: false,
			dashStyle: "Solid",
            marker: {
                enabled: false
            },
		}
	},
    legend: {
        borderWidth: 0,
        itemStyle: {
                    fontWeight: 'normal',
                    fontFamily: 'Arial',
                    fontSize: '12px',
                    color: '#666666'
                }
    },
            tooltip: {
                valueSuffix: ' millions'
            },
            plotOptions: {
                column: {
                    dataLabels: {
                        y: 20,
                        color: '#ffffff',
                        enabled: true,
                        fontWeight: 'normal',
                    }
                }
            },

            series: [{
               ...