SuthernSir
Technical User
I'm using jQuery with flotr, but my question is more of a generic javascript question.
I have an object which has a lot of properties visible when I do console.log(varname). When I try to access some of those properties, it gives me 'undefined' instead of the value.
Here's an image that shows the editor and the console. (attached)
Does anyone know how I can access these values? I've tried .x.['scale'] as well, but get the same error.
I've used jQuery quite a bit and dabbled in normal javascript, but this is a real puzzler for me.
Thanks for any tips!
I have an object which has a lot of properties visible when I do console.log(varname). When I try to access some of those properties, it gives me 'undefined' instead of the value.
Here's an image that shows the editor and the console. (attached)
Does anyone know how I can access these values? I've tried .x.['scale'] as well, but get the same error.
I've used jQuery quite a bit and dabbled in normal javascript, but this is a real puzzler for me.
Thanks for any tips!