<html>
<head>
<!-- Wijmo references (required) -->
<script src="http://cdn.wijmo.com/5.20152.90/controls/wijmo.min.js" type="text/javascript"></script>
<link href="http://cdn.wijmo.com/5.20152.90/styles/wijmo.min.css" rel="stylesheet" type="text/css" />
<!-- Wijmo controls (optional, include the controls you need) -->
<script src="http://cdn.wijmo.com/5.20152.90/controls/wijmo.grid.min.js" type="text/javascript"></script>
<script src="http://cdn.wijmo.com/5.20152.90/controls/wijmo.chart.min.js" type="text/javascript"></script>
<script src="http://cdn.wijmo.com/5.20152.90/controls/wijmo.input.min.js" type="text/javascript"></script>
<script src="http://cdn.wijmo.com/5.20152.90/controls/wijmo.gauge.min.js" type="text/javascript"></script>
<!-- Wijmo custom theme (optional, include the theme you like) -->
<link href="http://cdn.wijmo.com/5.20152.90/styles/themes/wijmo.theme.modern.min.css" rel="stylesheet" type="text/css" />
</head>
<body>
<!-- this is the FlexChart -->
<div id="gettingStartChart"></div>
<script type="text/javascript">
// create FlexChart
var gettingStartedChart = new wijmo.chart.FlexChart('#gettingStartChart');
// generate some random data
var countries = 'US,Germany,UK,Japan,Italy,Greece'.split(','),
appData = [];
for (var i = 0; i < countries.length; i++) {
appData.push({
country: countries[i],
downloads: Math.round(Math.random() * 20000),
sales: Math.random() * 10000,
expenses: Math.random() * 5000
});
}
// initialize FlexChart's properties
gettingStartedChart.initialize({
itemsSource: appData,
bindingX: 'country',
series: [
{ name: 'Sales', binding: 'sales' },
{ name: 'Expenses', binding: 'expenses' },
{ name: 'Downloads', binding: 'downloads' }
]
});
</script>
</body>
</html>
// Code goes here
/* Styles go here */