FusionCharts - Customizing anchor cosmetics in a line chart

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>
<!-- 
    Customizing anchor cosmetics for individual data points to highlight good customer satifaction score from bad one.
    Attributes at data/set level:
        # anchorBorderColor
        # anchorBgColor

    Deviation from theme:
        # showvalues - Set to 0
 -->
<div id="chart-container">FusionCharts will render here</div>

JavaScript

FusionCharts.ready(function() {
  var satisfactionChart = new FusionCharts({
    type: 'line',
    renderAt: 'chart-container',
    id: 'myChart',
    width: '500',
    height: '300',
    dataFormat: 'json',
    dataSource: {
      "chart": {
        "theme": "fusion",
        "caption": "Customer Satisfaction Averages",
        "subcaption": "Last week",
        "xaxisname": "Day",
        "yaxisname": "Satisfaction (In %)",
        "numbersuffix": "%",
        "showvalues": "0",
        //Anchor Cosmatics
        "anchorRadius": "6",
        "anchorBorderThickness": "2",
        //Theme
        "theme": "fusion"

      },
      "data": [{
          "label": "Mon",
          "value": "22.5",
          "anchorBorderColor": "#cc3333",
          "anchorBgColor": "#ff9900"
        },
        {
          "label": "Tue",
          "value": "42.4",
          "anchorBorderColor": "#33cc00",
          "anchorBgColor": "#66FF33"
        },
        {
          "label": "Wed",
          "value": "28.2",
          "anchorBorderColor": "#cc3333",
          "anchorBgColor": "#ff9900"
        },
        {
          "label": "Thu",
          "value": "22.8",
          "anchorBorderColor": "#cc3333",
          "anchorBgColor": "#ff9900"

        },
        {
          "label": "Fri",
          "value": "39.2",
          "anchorBorderColor": "#33cc00",
          "anchorBgColor": "#66FF33"
        },
        {
          "label": "Sat",
          "value": "66.45",
          "anchorBorderColor": "#33cc00",
          "anchorBgColor": "#66FF33"
        }
      ]
    }
  });

  satisfactionChart.render();

});