Query Manager - errors 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: '#fff',
        style: {
            fontFamily: 'Metrophobic',
            color: '#2a3f54'
        },
        height: 400,
        width: 1200
    },
    credits: {
    	enabled: false
    },
    exporting: {
    		enabled: false
    },
    title: {
        text: ' '
    },
    subtitle: {
        text: ' '
    },
    xAxis: {
        categories: ['May', 'June', 'July', 'August', 'September', 'October', 'November', 'December', 'January', 'February', 'March', 'April'],
        labels: {
            style: {
                color: '#2a3f54',
                fontSize: '14px',
                fontFamily: 'Metrophobic'
            }
        },
        tickLength: 0
    },
    yAxis: {
        title: {
            text: ' '
        },
        tickInterval: 2,
        gridLineColor: '#aec4db',
        labels: {
            style: {
                color: '#2a3f54',
                fontSize: '14px',
                fontFamily: 'Metrophobic'
            }
        }
    },
    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: '#2a3f54',
                fontSize: '14px',
                fontFamily: 'Metrophobic',
                fontWeight: 'normal'
            }
    },
    series: [{
        name: 'Errors',
        color: '#ce5454',
        data: [6,5,4,5,6,8,8,8,8,7,7,6],
        marker: {
        		radius: 4,
            fillColor: '#fff',
            lineColor: '#ce5454',
            lineWidth: 2,
            symbol: 'circle'
        }
    },{
    ...