Child-Rearing Values

by Adam Nekola

HTML

<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>

<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>

JavaScript

$(function () {
    $('#container').highcharts({
        title: {
            text: 'Monthly Average Temperature',
            x: -20 //center
        },
        subtitle: {
            text: 'Source: WorldClimate.com',
            x: -20
        },
        xAxis: {
            categories: ['CL', 'ML', 'M', 'MC', 'CC']
        },
        yAxis: {
            title: {
                text: 'Temperature (°C)'
            },
            plotLines: [{
                value: 0,
                width: 1,
                color: '#808080'
            }]
        },
        tooltip: {
            valueSuffix: '°C'
        },
        legend: {
            layout: 'vertical',
            align: 'right',
            verticalAlign: 'middle',
            borderWidth: 0
        },
        /*
        series: [
        
        ]
        */
        series: [{
            name: 'Being Responsible',
            data: [47,55,56,57,61]
        }, {
            name: 'Empathy for Others',
            data: [34,null,null,null,null]
        }, {
            name: 'Hard Work',
            data: [26,42,46,43,44]
        }, {
            name: 'Helping Others',
            data: [28,26,24,null,null]
        }, {
            name: 'Curiosity',
            data: [23,null,null,null,null]
        }, {
            name: 'Being Well-Mannered',
            data: [null,24,26,21,17]
        }, {
            name: 'Religious Faith',
            data: [null,23,29,44,59]
        }, {
            name: 'Independence',
            data: [null,null,null,16,null]
        }, {
            name: 'Obedience',
            data: [null,null,null,null,15]
        }]
    });
});