Access object option without being dotted

2

I have a json object in javascript and need to access it, I was currently accessing your options like this:

registro.man_ins_prod_05

In hightchart in the part of adding values (date) in the chart, they treat points as comma . Functional example:

data: [5.2, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]

And if I put:

data: [registro.man_ins_prod_05, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]

Does not work. Is there any way to fire the option other than point ?

    
asked by anonymous 04.02.2015 / 13:24

1 answer

3

You can access it as follows: registro["man_ins_prod_05"] .

    
04.02.2015 / 13:26