2
I have an object json in javascript and need to access it,was currently accessing your options so:
registro.man_ins_prod_05
Entertaining on the hightchart in the part of adding values(date) on the chart, dots 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]
It doesn’t work. Is there any way to trigger the option other than by dot?
I know the problem is solved, but the question is confused. Use
registro.man_ins_prod_05
is identical to useregistro['man_ins_prod_05']
. The numbers indata
you cannot access as keys because they are values, that is an array and not an object.– bfavaretto