FusionCharts - Select Scatter Chart in Javajavascript

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>
<!--
    Select Scatter Chart.
-->
<div id="chart-container">FusionCharts will render here</div>
<!-- Table -->
<div id="tableView" class="grayBorder"></div>

CSS

body {
   color: #666666;
   font-family: "Arial", "Helvetica";
   font-size: 12px;
 }

 .grayBorder {
   border: 1px solid #CCCCCC;
   margin: 3px;
   float: left;
 }

 .fontBold {
   font-weight: bold;
   font-size: 14px;
   vertical-align: top;
   text-align: right;
 }

 .fontBoldSmall {
   font-weight: bold;
   font-size: 12px;
   background-color: #EEEEEE;
   text-align: center;
 }

 .valueFont {
   padding: 3px;
 }

 #tableView {
   width: 500px;
   display: none;
   margin-left: 0px;
   max-height: 250px;
   overflow: scroll;
 }

JavaScript

FusionCharts.ready(function() {
  var getDataFromChart,
    productPriceChart = new FusionCharts({
      type: 'selectscatter',
      id: 'chartId',
      renderAt: 'chart-container',
      width: '700',
      height: '400',
      dataFormat: 'json',
      dataSource: {
        "chart": {
          //Theme
          "theme": "fusion",
          "caption": "Products Sold vs. Price points",
          "subcaption": "Harry's SuperMart - Last Week",
          "yaxisname": "Quantity Sold",
          "xaxisname": "Price(In US $)",
          "xaxismaxvalue": "1000",
          "xaxisminvalue": "100",
          "xnumberprefix": "$",
          "ynumbersuffix": " units",
          "showcanvasborder": "1",
          "canvasborderthickness": "0.4",
          "canvasborderalpha": "50",
          "showXAxisLine": "0",
          "showformbtn": "1",
          "formAction": "#",
          "submitdataasxml": "1"
        },
        "categories": [{
          "verticallinecolor": "666666",
          "verticallinethickness": "1",
          "alpha": "40",
          "category": [{
            "label": "$100",
            "x": "100",
            "showverticalline": "0"
          }, {
            "label": "$200",
            "x": "200",
            "showverticalline": "1"
          }, {
            "label": "$300",
            "x": "300",
            "showverticalline": "1"
          }, {
            "label": "$400",
            "x": "400",
            "showverticalline": "1"
          }, {
            "label": "$500",
            "x": "500",
            "showverticalline": "1"
          }, {
            "label": "$600",
            "x": "600",
            "showverticalline": "1"
          }, {
            "label": "$700",
            "x": "700",
            "showverticalline": "1"
          }, {
            "label": "$800",
            "x": "800",
            "showverticalline": "1"
          }, {
            "label": "$900",
            "x": "900",
            "showverticalline": "1"
   ...