Advertisement 1
Created using FusionCharts Suite XT - www.fusioncharts.com
HTML
<script src="http://static.fusioncharts.com/code/latest/fusioncharts.js"></script>
<script src="http://static.fusioncharts.com/code/latest/fusioncharts.charts.js"></script>
<script src="http://static.fusioncharts.com/code/latest/themes/fusioncharts.theme.fint.js"></script>
<div id="chart-container" style="width:700px; height:400px;">FusionCharts will render here</div>
CSS
div {
padding: 10px;
background-color:#20355F;
}
p {
color: white;
}
JavaScript
FusionCharts.ready(function () {
var revenueChart = new FusionCharts({
type: 'mscombi2d',
renderAt: 'chart-container',
width: '700',
height: '400',
containerBackgroundOpacity: '0',
dataFormat: 'json',
dataSource: {
"chart": {
"theme": "fint",
"caption": "Sales Forecast",
"captionFontColor": "#ffffff",
"captionFontSize": "15",
"labelFontColor": "#fff",
"labelFontSize": "13",
"canvasBgAlpha": "0",
"bgAlpha": "0",
"yAxisMinValue": "25000",
"yAxisMaxValue": "151000",
"outCnvBaseFontColor": "#EE9942",
"numDivLines": "5",
"anchorRadius": "5",
"anchorBorderColor": "#ffffff",
"anchorBorderThickness": "4",
"anchorBgAlpha": "0",
"lineThickness": "3",
"divLineAlpha": "50",
"showLegend": "0",
"divLineDashed": "1",
"divLineDashLen": "4",
"labelDisplay": "None",
"placeValuesInside": "1",
"valueFontColor": "#ffffff",
"valueFontBold": "1",
"valueFontSize": "12",
"plotSpacePercent": "7",
"showDivLineValues": "0",
"showLimits": "0",
"xAxisNameFontBold": "0"
},
"categories": [{
"category": [{
"label": "Jan"
}, {
"label": "Feb"
}, {
"label": "Mar"
}, {
"label": "Apr"
}, {
"label": "May"
}, {
...