Angular Gauge - Configuring gauge gradient fill

Created using FusionCharts Suite XT - www.fusioncharts.com

by FusionCharts

HTML

<script src="https://cdn.fusioncharts.com/fusioncharts/latest/fusioncharts.js"></script>
<script src="https://cdn.fusioncharts.com/fusioncharts/latest/themes/fusioncharts.theme.fusion.js"></script>
<!-- AngularGauge - Configuring gauge gradient fill with fill ratio set to empty 

Attributes:
    1. gaugeFillMix : To set a gradient mix formula for the color scale, pivot etc.  
    2. gaugeFillRatio : To specify the ratio of each color in the mix. (Set to empty for this sample) 
-->
<div id="chart-container">FusionCharts will render here</div>

JavaScript

FusionCharts.ready(function() {
  var cSatScoreChart = new FusionCharts({
    type: 'angulargauge',
    renderAt: 'chart-container',
    width: '400',
    height: '250',
    dataFormat: 'json',
    dataSource: {
      "chart": {
        "caption": "Customer Satisfaction Score",
        "subcaption": "Last week",
        "lowerLimit": "0",
        "upperLimit": "100",
        "gaugeFillMix": "{light-10},{light-20},{light-60},{dark-30},{dark-40}, {dark-40}",
        "gaugeFillRatio": "",
        "theme": "fusion"
      },
      "colorRange": {
        "color": [{
            "minValue": "0",
            "maxValue": "50",
            "code": "#e44a00"
          },
          {
            "minValue": "50",
            "maxValue": "75",
            "code": "#f8bd19"
          },
          {
            "minValue": "75",
            "maxValue": "100",
            "code": "#6baa01"
          }
        ]
      },
      "dials": {
        "dial": [{
          "value": "67"
        }]
      }
    }
  }).render();
});