I am trying to use fusioncharts free and jquery to display a simple chart. Screenshot attached is for the type of data and chart displayed. I am using below script for chart.
<script type="text/javascript">[font=arial, verdana, tahoma, sans-serif][size=2]
$('#voucherChart').insertFusionCharts({[/size][/font]
swfPath: "/VMRegistration-portlet/FusionChartsFree/Charts/",
type: "Column2D",
data: "#voucherTable",
dataFormat: "HTMLTable",
width: "300px",
height: "200px",
dataOptions: {
chartAttributes: {
caption: "Voucher Details",
xAxisName: "Amount",
yAxisName: "Quantity",
bgColor: "eef0f2",
decimals: 0
}
}
});
</script>
Chart displayed is showing decimal values which i don't want and tried to set decimals to 0 but in vain.
Any help/pointers would be appreciated.
Thanks