I am trying to make a ZingCalendar chart basically for monthly attendance. I have the days array, but I want an objects within objects to to pass that to the graph.
Like :
items: {
'd-2016-01-01': {
backgroundColor: 'purple',
},
'd-2016-02-01': {
backgroundColor: 'purple',
},
}
I have an array like this :
0 : {
"d-2022-01-01":{backGroundColor:"black"}
},
1 :{
"d-2022-01-02":{backGroundColor:"black"}
},