Series color solid gauge

by kzoon

HTML

<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/highcharts-more.js"></script>
<script src="https://code.highcharts.com/modules/solid-gauge.js"></script>

<div id="container"></div>

JavaScript

Highcharts.chart('container', {

  chart: {
    type: 'solidgauge',
    borderWidth: 1
  },

  title: {
    text: ''
  },
  pane: {
    center: ['50%', '80%'],
    size: '130%',

    startAngle: -90,
    endAngle: 90,
    background: {
      "backgroundColor": 'yellow',
      "borderWidth": 0,
      "innerRadius": "60%",
      "outerRadius": "100%",
      "shape": "arc"
    }
  },

  yAxis: {
    min: 0,
    max: 100,
    lineWidth: 0,
    minorTicks: false,
    tickWidth: 0,
    tickAmount: 2,
    labels: {
      y: 16
    }

  },


  series: [{
    name: 'Product',
    color: 'red',
    dataLabels: {
      enabled: true,
      borderWidth: 0,
      format: '{y} %',

      verticalAlign: 'middle',
      style: {
        "fontSize": "30px"
      }
    },

    data: [55]

  }]
});