<script type="text/javascript">
FusionCharts.ready(function(){
var fusioncharts = new FusionCharts({
type: 'msbar2d',
renderAt: 'chart-container',
width: '800',
height: '800',
dataFormat: 'json',
dataSource: {
"chart": {
"caption": "Title",
"subCaption": "Subtitle",
"xAxisname": "x",
"yAxisName": "y",
"plotFillAlpha": "80",
"paletteColors": "#0075c2,#1aaf5d",
"baseFontColor": "#333333",
"baseFont": "Helvetica Neue,Arial",
"captionFontSize": "14",
"subcaptionFontSize": "14",
"subcaptionFontBold": "0",
"showBorder": "0",
"bgColor": "#ffffff",
"showShadow": "0",
"usePlotGradientColor": "0",
"showplotborder": "0",
"valueFontColor": "#ffffff",
"placeValuesInside": "1",
"showHoverEffect": "1",
"rotateValues": "1",
"showXAxisLine": "1",
"xAxisLineThickness": "1",
"xAxisLineColor": "#999999",
"showAlternateHGridColor": "0",
"legendBgAlpha": "0",
"legendBorderAlpha": "0",
"legendShadow": "0",
"legendItemFontSize": "10",
"legendItemFontColor": "#666666",
"exportEnabled": "1"
},
#{list poList, as:'person'}
"categories": [{
"category": [{
"label": "${person?.surname} ${person?.name}"
},]
}],
"dataset": [{
"seriesname": "Ore di straordinario",
"data": [{
"value": "${person?.overtimeHour}"
},]
}, {
"seriesname": "Ore in più",
"data": [{
"value": "${person?.positiveHourForOvertime}"
},]
}],
#{/list}
}
}
);
fusioncharts.render();
});
</script>