JavaScript
var pivot = new Flexmonster({
container: "pivot-container",
componentFolder: "https://cdn.flexmonster.com/",
width: "100%",
height: 430,
toolbar: true,
report: {
dataSource: {
data: [{
Code: {
type: "string"
},
Date: {
type: "year/quarter/month/day"
},
Amount: {
type: "number"
},
Country: {
type: "string"
},
BalanceChange: {
type: "number"
}
}, {
Code: "CHARLIE",
Date: "2012-12-31",
Amount: 0,
Country: "FR",
BalanceChange: 1000
}, {
Code: "ALPHA",
Date: "2012-12-31",
Amount: 0,
Country: "FR",
BalanceChange: 1000
}, {
Code: "BRAVO",
Date: "2012-12-31",
Amount: 0,
Country: "BE",
BalanceChange: 1000
}, {
Code: "ALPHA",
Date: "2012-12-31",
Amount: 0,
Country: "BE",
BalanceChange: 1000
}, {
Code: "CHARLIE",
Date: "2012-12-31",
Amount: 0,
Country: "UK",
BalanceChange: 1000
}, {
Code: "DELTA",
Date: "2012-12-31",
Amount: 0,
Country: "UK",
BalanceChange: 1000
}, {
Code: "CHARLIE",
Date: "2012-12-31",
Amount: -1000.64,
Country: "FR",
BalanceChange: 0
}, {
Code: "ALPHA",
Date: "2012-12-31",
Amount: 100.45,
Country: "FR",
BalanceChange: 0
}, {
Code: "BRAVO",
Date: "2012-12-31",
Amount: 65.21,
Country: "BE",
BalanceChange: 0
}, {
Code: "ALPHA",
Date: "2012-12-31",
Amount: -588.45,
Country: "BE",
BalanceChange: 0
}, {
Code: "CHARLIE",
Date: "2012-12-31",
Amount: 669.25,
Country: "UK",
BalanceChange: 0
}, {
Code:...