JavaScript
FusionCharts.ready(function () {
var revenueChart = new FusionCharts({
type: 'scatter',
renderAt: 'chart-container',
width: '400',
height: '400',
dataFormat: 'json',
dataSource: {
"chart": {
"caption": "",
"yaxisname": "",
"xaxisname": "",
"chartpalette": "2",
"bgalpha": "0",
"border": "0",
"numdivlines": "0",
"rotatelabels": "0",
"borderalpha": "0",
"showlegend": "1",
"xaxismaxvalue": "10",
"xaxisminvalue": "0",
"showlabels": "1",
"decimals": "0",
"plotbordercolor": "B8B8B8",
"formatnumberscale": "0",
"drawquadrant": "1",
"ynumberprefix": "$",
"showvalues": "1",
"adjustVDiv": "0",
"manageplotoverflow":"0"
},
"categories": [
{
"verticallinecolor": "666666",
"verticallinethickness": "1",
"category": [
{
"label": "0",
"x": "0",
"showverticalline": "1"
},
{
"label": "1",
"x": "1",
"showverticalline": "1"
},
{
"label": "2",
"x": "2",
"showverticalline": "1"
},
{
"label": "3",
"x": "3",
"showverticalline": "1"
},
{
"label": "4",
"x": "4",
"showverticalline": "1"
},
{
"label": "5",
"x": "5",
"showverticalline": "1"
},
{
"label": "6",
"x": "6",
"showverticalline": "1"
},
{
"label": "7",
"x": "7",
"showverticalline": "1"
},
{
"label": "8",
"x": "8",
"showverticalline": "1"
},
{
"label": "9",
"x": "9",
"showverticalline": "1"
},
{
"label": "10",
"x": "10",
"showverticalline": "1"
}
]
}
],
...