Nunwood VOC CEE Trend

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

Highcharts.chart('container', {
    chart: {
        type: 'line',
        backgroundColor: '#272a2a',
        style: {
            fontFamily: 'Arial',
            color: '#525759'
        },
        height: 350,
        width: 1050
    },
    credits: {
    	enabled: false
    },
    exporting: {
    		enabled: false
    },
    title: {
        text: ' '
    },
    subtitle: {
        text: ' '
    },
    xAxis: {
        categories: ['April 2017', 'May 2017', 'June 2017', 'July 2017', 'August 2017', 'September 2017', 'October 2017', 'November 2017', 'December 2017', 'January 2018', 'February 2018', 'March 2018', 'April 2018'],
        labels: {
            style: {
                color: '#e6e6e6',
                fontSize: '14px',
                fontFamily: 'Chivo'
            }
        },
        tickLength: 0
    },
    yAxis: {
        title: {
            text: ' '
        },
        tickInterval: 20,
        min: 0,
        max: 100,
        gridLineColor: '#999',
        labels: {
            style: {
                color: '#e6e6e6',
                fontSize: '14px',
                fontFamily: 'Chivo'
            }
        }
    },
    tooltip: {
        pointFormat: '{series.name} produced <b>{point.y:,.0f}</b><br/>warheads in {point.x}'
    },
    plotOptions: {
        area: {
            marker: {
                enabled: false,
                symbol: 'circle',
                radius: 2,
                states: {
                    hover: {
                        enabled: true
                    }
                }
            }
        }
    },
    legend: {
            itemStyle: {
                color: '#e6e6e6',
                fontSize: '12px',
                fontWeight: 'normal'
            }
    },
    series: [{
        name: 'Call volume',
        color: '#049ed9',
        data: [62, 62, 61, 59, 58, 57, 55, 55, 57, 54, 53, 52, 51],
        marker: {
        		radius: 6,
            fillColor: '#272a2a',
            lineColor:...