Created
June 1, 2019 15:50
-
-
Save baktiaditya/ed98d77b4751edb91236cfa678c1ad21 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const responseReportDesigner = { | |
dataColumns: [ | |
{ | |
value: 'nama_provinsi', | |
}, | |
{ | |
value: null, | |
}, | |
{ | |
value: null, | |
}, | |
{ | |
value: 'value_3', | |
chartColor: '#00ff00', | |
chartValue: true, | |
}, | |
{ | |
value: 'value_2', | |
chartColor: '#ffff00', | |
chartValue: true, | |
}, | |
{ | |
value: 'value_1', | |
chartColor: '#ff0000', | |
chartValue: true, | |
}, | |
{ | |
value: 'value_0', | |
chartColor: '#000000', | |
chartValue: true, | |
}, | |
], | |
decorationColumns: [ | |
[ | |
{ | |
label: 'Provinsi', | |
colSpan: 1, | |
rowSpan: 2, | |
}, | |
{ | |
label: 'Kabupaten', | |
colSpan: 1, | |
rowSpan: 2, | |
}, | |
{ | |
label: 'Desa', | |
colSpan: 1, | |
rowSpan: 2, | |
}, | |
{ | |
label: 'Berfungsi', | |
colSpan: 2, | |
rowSpan: 1, | |
}, | |
{ | |
label: 'Tidak Berfungsi', | |
colSpan: 1, | |
rowSpan: 2, | |
}, | |
{ | |
label: 'Tidak Ada Data', | |
colSpan: 1, | |
rowSpan: 2, | |
}, | |
], | |
[ | |
{ | |
label: 'Baik', | |
colSpan: 1, | |
rowSpan: 1, | |
}, | |
{ | |
label: 'Sebagian', | |
colSpan: 1, | |
rowSpan: 1, | |
}, | |
], | |
], | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Untuk data, mapping nya ke sini pake

dataColumns
: