rajesh.kumar

Htmltable + Yaxis Decimal Display

Recommended Posts

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

post-20235-0-24088800-1312970396_thumb.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now