FusionCharts - Configuring tick marks & values position in Linear Gauge

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>
<!-- Configuring tick marks & values position in a simple Horizontal Linear Gauge showing Server CPU Utilization using attributes:

    # ticksBelowGauge - Whether to place ticks below or top of gauge
    # placeTicksInside - Whether to place ticks inside the gauge
    # placeValuesInside - Whether to place tick values inside the gauge

    Deviation from theme
    # valueFontSize
    # valueFontBold
-->
<div id="chart-container">FusionCharts will render here</div>

JavaScript

FusionCharts.ready(function() {
  var cpuGauge = new FusionCharts({
      type: 'hlineargauge',
      renderAt: 'chart-container',
      id: 'cpu-linear-gauge',
      width: '400',
      height: '170',
      dataFormat: 'json',
      dataSource: {
        "chart": {
          "theme": "fusion",
          "caption": "Server CPU Utilization",
          "lowerLimit": "0",
          "upperLimit": "100",
          "numberSuffix": "%",
          "chartBottomMargin": "20",
          "valueFontSize": "11",
          "valueFontBold": "0",
          //Placing the tick above/below the gauge                
          "ticksBelowGauge": "0",
          //Placing the ticks outside of the gauge
          "placeTicksInside": "0",
          //Placing the tick values outside of the gauge
          "placeValuesInside": "0",
          "gaugeFillMix": "{light-10},{light-70},{dark-10}",
          "gaugeFillRatio": "40,20,40"
        },
        "colorRange": {
          "color": [{
              "minValue": "0",
              "maxValue": "35",
              "label": "Low",
            },
            {
              "minValue": "35",
              "maxValue": "70",
              "label": "Moderate",
            },
            {
              "minValue": "70",
              "maxValue": "100",
              "label": "High",
            }
          ]
        },
        "pointers": {
          "pointer": [{
            "value": "75"
          }]
        }
      }
    })
    .render();
});