FusionCharts - Gallery Example - Doughnut 3D Chart
Created using FusionCharts Suite XT - www.fusioncharts.com
by stefanpetrovic
October 03, 2015
HTML
<script src="http://static.fusioncharts.com/code/latest/fusioncharts.js"></script>
<script src="http://static.fusioncharts.com/code/latest/fusioncharts.charts.js"></script>
<!-- Doughnut 3D chart example -->
<div id="chart-container">FusionCharts will render here</div>
JavaScript
FusionCharts.ready(function () {
var revenueChart = new FusionCharts({
type: 'doughnut3d',
renderAt: 'chart-container',
width: '552',
height: '300',
dataFormat: 'json',
dataSource: {
"chart": {
"caption": "Split of Revenue by Product Categories",
"subCaption": "Last year",
"numberPrefix": "$",
"paletteColors": "#0075c2,#1aaf5d,#f2c500,#f45b00,#8e0000",
"bgColor": "#ffffff",
"showBorder": "0",
"use3DLighting": "1",
"showShadow": "0",
"enableSmartLabels": "1",
"startingAngle": "410",
"showLabels": "0",
"showPercentValues": "1",
"showLegend": "1",
"legendShadow": "0",
"legendBorderAlpha": "0",
"decimals": "0",
"captionFontSize": "16",
"subcaptionFontSize": "14",
"subcaptionFontBold": "0",
"toolTipColor": "#ffffff",
"toolTipBorderThickness": "0",
"toolTipBgColor": "#000000",
"toolTipBgAlpha": "80",
"toolTipBorderRadius": "2",
"toolTipPadding": "5",
},
"data": [
{
"label": "HI: Security",
"value": "15"
},
{
"label": "HI: Product Operations",
"value": "11"
},
{
"label": "HI: Release Management",
"value": "5"
},
{
"label": "HI: Cloud Operations",
"value": "3"
}
,
{
"label": "HI: Development",
"value":...