I'm working with HighCharts and having a little trouble getting the color variable to work so it alternates colors.
Here is my returned JSON array:
[{"y":5,"color":"colors[0]","drilldown":{"name":"June","categories":["Fictional Hospice","Virtue Hospice"],"data":[4,1],"color":"colors[3]"}}
I need to remove the double quotes just from the colors[0]
and the colors[3]
part in order for it to work.
How do I go about doing this?
Thanks!