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: '#ededed',
        style: {
            fontFamily: 'Arial',
            color: '#525759'
        },
        height: 350,
        width:750
    },
    credits: {
    	enabled: false
    },
    exporting: {
    		enabled: false
    },
    title: {
        text: ' '
    },
    subtitle: {
        text: ' '
    },
    xAxis: {
        categories: ['January', 'February', 'March', 'April', 'May', 'June'],
        labels: {
            style: {
                color: '#525759',
                fontFamily: 'Arial',
                fontSize: '14px'
            }
        },
        tickLength: 0
    },
    yAxis: {
        title: {
            text: ' '
        },
        tickInterval: 10,
        gridLineColor: '#999',
        labels: {
            style: {
                color: '#525759',
                fontSize: '14px'
            }
        }
    },
    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: '#525759',
                fontSize: '14px',
                fontFamily: 'Arial',
                fontWeight: 'normal'
            }
    },
    series: [{
        name: 'NPS',
        color: '#fa7453',
        data: [48, 53,48,53,48,53],
        marker: {
        		radius: 4,
            fillColor: '#ededed',
            lineColor: '#fa7453',
            lineWidth: 2,
            symbol: 'circle'
        }
    },
    {
        name: 'Target',
        color: '#2f9257',
        dashStyle: 'shortDot',
        data: [40,45,40,45,40,45],
        marker:...