Bootstrap 3 Template
This is a simple Twitter Bootstrap 3 template. You can fork it to get a ready to use Bootstrap 3 fiddle.
by ideazgeni
HTML
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
<script src="https://cdn.fusioncharts.com/fusioncharts/latest/fusioncharts.js"></script>
<div class="row">
<div class="col-sm-4" id="chart-container1">
</div>
<div class="col-sm-4" id="chart-container2">
</div>
<div class="col-sm-4" id="chart-container3">
</div>
</div>
JavaScript
FusionCharts.ready(function() {
var revenueChart1 = new FusionCharts({
type: 'doughnut2d',
renderAt: 'chart-container1',
width: '100%',
height: '100%',
dataFormat: 'json',
dataSource: {
"chart": {
"caption": "Caption",
"subCaption": "Sub-caption",
"showValues": "0",
"showLabels": "0",
"showLegend": "1",
"legendPosition": "RIGHT",
"numberPrefix": "$",
"startingAngle": "310",
"showTooltip": "0",
"decimals": "0",
"theme": "fusion"
},
"data": [{
"label": "Work place services",
"value": "28504"
}]
}
}).render();
var revenueChart2 = new FusionCharts({
type: 'doughnut2d',
renderAt: 'chart-container2',
width: '100%',
height: '100%',
dataFormat: 'json',
dataSource: {
"chart": {
"caption": "Caption",
"subCaption": "Sub-caption",
"showValues": "0",
"showLabels": "0",
"showLegend": "1",
"legendPosition": "RIGHT",
"numberPrefix": "$",
"startingAngle": "310",
"showTooltip": "0",
"decimals": "0",
"theme": "fusion"
},
"data": [{
"label": "Work place services",
"value": "28504"
}]
}
}).render();
var revenueChart3 = new FusionCharts({
type: 'doughnut2d',
renderAt: 'chart-container3',
width: '100%',
height: '350',
dataFormat: 'json',
dataSource: {
"chart": {
"caption": "Caption",
"subCaption": "Sub-caption",
"showValues": "0",
"showLabels": "0",
"showLegend": "1",
"legendPosition": "RIGHT",
"numberPrefix": "$",
"startingAngle": "310",
"showTooltip": "0",
"decimals": "0",
"theme": "fusion"
},
"data": [{
"label": "Work place services",
"value": "28504"
}]
}
}).render();
});