I have a JSON object that looks like this:
"highChart":{
"xAxis":{
"categories":[
"SYN 13 ",
"Settlement",
"Service Interaction",
"FNOL",
"Repair Process",
"Rental Experience",
"Appraisal",
"SYN 14 "
],
"title":{
"text":""
},
"labels":{
"enabled":true,
"maxStaggerLines":1
},
"tickWidth":1
}}
Let's call this $scope.chartConfig = highChart
Now, I want to include another property in chartConfig like this:
"highChart":{
"options":{
"chart":{
"height":null,
"type":"waterfall"
}},
"xAxis":{
"categories":[
"SYN 13 ",
"Settlement",
"Service Interaction",
"FNOL",
"Repair Process",
"Rental Experience",
"Appraisal",
"SYN 14 "
],
"title":{
"text":""
},
"labels":{
"enabled":true,
"maxStaggerLines":1
},
"tickWidth":1
}}
After setting $scope.chartConfig = highChart
, how can I add the options property with the chart property as shown above?