JavaScript
var categoryData = [
{
label:"Category 1",
value:85
},
{
label:"Category 2",
value:67
},
{
label:"Category 3",
value:30
},
{
label:"Category 4",
value:29
},
{
label:"Category 5",
value:27
},
{
label:"Category 6",
value:24
},
{
label:"Category 7",
value:18
},
{
label:"Category 8",
value:18
},
{
label:"Category 9",
value:11
},
{
label:"Category 10",
value:10
},
{
label:"Category 11",
value:9
},
{
label:"Category 12",
value:5
},
{
label:"Category 13",
value:4
},
{
label:"Category 14",
value:4
},
{
label:"Category 15",
value:4
},
{
label:"Category 16",
value:3
},
{
label:"Category 17",
value:2
}
];
FusionCharts.ready(
function () {
var alertCategoryBarChart = new FusionCharts({
type: 'bar2d',
renderAt: 'chart-container',
id: 'categoryBars',
width: '550',
height: '320',
dataFormat: 'json',
containerBackgroundOpacity :"0",
dataSource: {
chart: {
"paletteColors":"79AFDE",
"divlinecolor": "AAA6A1",
"tooltipbordercolor": "FFFFFF",
"showalternatevgridcolor": "0",
"showXAxisLine": "1",
"showYAxisLine": "1",
"showplotborder": "0",
"placevaluesinside": "0",
"showcanvasborder": "0",
"plotgradientcolor": "",
"canvasborderalpha": "0",
"showBorder": "0",
"baseFontSize": "14",
"baseFontColor": "FFFFFF",
"outCnvBaseFontColor": "333333",
"showVLineLabelBorder":"1",
"labelPadding": "10",
"plotSpacePercent": "40",
"valueFontColor": "79afde",
"valueBgColor": "F3F1F1",
"formatNumberScale": "0",
"bgAlpha": "0",
"canvasBgAlpha":...