Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "toolbar" : true, // mengaktifkan fitur download (PDF,Excel) dan fullscreen
- "width" : 800, // lebar tabel
- "height" : 600, // tinggi tabel
- "rows" : [ { //variabel diposisi y table (vertikal)
- "uniqueName": "variable_y_1",
- "filter": {
- "members": ["variable_y_1.child_1", "variable_y_1.child_2"],
- "negation": true
- }
- },
- {
- "uniqueName": "variable_y_2"
- }
- ],
- "columns": [{ //variabel diposisi x table (horizotnal)
- "uniqueName": "variable_x_1"
- },
- {
- "uniqueName": "variable_x_2"
- }
- ],
- "measures": [{ //variabel yg dilakukan agregasi
- "uniqueName": "variable_sum",
- "aggregation": "sum"
- }],
- "formats": [{ // format data masing-masing variable
- "name": "variable_y_1",
- "maxDecimalPlaces": 2
- }, {
- "name": "variable_y_2",
- "thousandsSeparator": " ",
- "decimalSeparator": ".",
- "nullValue": "",
- "textAlign": "right",
- "isPercent": false
- }],
- "expands": { // variable data dan child datanya yang ditampilkan expands secara default
- "rows": [{
- "tuple": ["variable_y_1.child_1"]
- }, {
- "tuple": ["variable_y_2.child_1"]
- }],
- {
- "columns": [{
- "tuple": ["variable_x_1.child_1"]
- }, {
- "tuple": ["variable_x_2.child_1"]
- }]
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement