Solid gauge colored center

by kzoon

HTML

<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/highcharts-more.js"></script>
<script src="http://code.highcharts.com/modules/solid-gauge.js"></script>
<div style="width: 600px; height: 400px; margin: 0 auto">
    <div id="container-speed" style="width: 300px; height: 200px; float: left"></div>
    <div id="container-rpm" style="width: 300px; height: 200px; float: left"></div>
</div>

JavaScript

$(function () {


    // The speed gauge
    $('#container-speed').highcharts({
        chart: {
            type: 'solidgauge'
        },

        title: null,

        pane: {
            center: ['50%', '50%'],
            size: '100%',
            startAngle: 0,
            endAngle: 360,
            background: {
                backgroundColor: 'darkgreen',
                innerRadius: '0%',
                outerRadius: '80%',
                shape: 'circle'
            }
        },

        tooltip: {
            enabled: false
        },
        yAxis: {
            min: 0,
            max: 200,
            title: {
                text: 'Speed'
            },

            stops: [
                [0.1, '#55BF3B'], // green
                [0.5, '#DDDF0D'], // yellow
                [0.9, '#DF5353'] // red
                ],
            lineWidth: 0,
            minorTickInterval: null,
            tickPixelInterval: 400,
            tickWidth: 0,
            title: {
                y: -70
            },
            labels: {
                enabled: false
            }
        },

        credits: {
            enabled: false
        },

        plotOptions: {
            solidgauge: {
                dataLabels: {
                    enabled: true,
                   
       verticalAlign: 'middle',
                   borderWidth: 0,
                    useHTML: true,
                    
                    format: '<div style="text-align:center"><span style="font-size:45px;color:#fff;">{y}</span>'
                }
            }
        },

        series: [{
            innerRadius: '80%',
            name: 'Speed',
            data: [80]
        }]

    });


});