<script src="http://static.fusioncharts.com/code/latest/fusioncharts.js"></script>
<script src="http://static.fusioncharts.com/code/latest/fusioncharts.charts.js"></script>
<script src="http://static.fusioncharts.com/code/latest/themes/fusioncharts.theme.fint.js"></script>
<!--
Changing position of thousand separator to format numbers in different style e.g., in Indian format. (e.g., INR 25,70,230)
# thousandSeparatorPosition - Set to 2,3 (first block of 3 digits from right, and then in blocks of 2)
-->
<div id="chart-container">FusionCharts will render here</div>
JavaScript
FusionCharts.ready(function() {
var revenueChart = new FusionCharts({
type: 'column2d',
renderAt: 'chart-container',
width: '500',
height: '350',
dataFormat: 'json',
dataSource: {
"chart": {
"theme": "fint",
"caption": "Quarterly Revenue (in INR)",
"subcaption": "Last year",
"xaxisname": "Quarter",
"yaxisname": "Amount (In INR)",
"numberPrefix": "INR ",
"formatNumberScale": "0",
"rotateValues": "0",
"placeValuesInside":"0",
"valueFontColor": "#000000",
"valueBgColor": "#FFFFFF",
"valueBgAlpha": "50",
//Customizing thousand separator position
//(first block of 3 digits from right, and then in blocks of 2)
"thousandSeparatorPosition": "2,3"
},
"data": [
{
"label": "Q1",
"value": "125232"
},
{
"label": "Q2",
"value": "257023"
},
{
"label": "Q3",
"value": "203753"
},
{
"label": "Q4",
"value": "182357"
}
]
}
}).render();
});
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Console
Debug your Fiddle with a minimal built-in JavaScript console.