Hi,
I have come pretty far setting a chart up the way i want it, manipulating the examples provided. My problem is when Json encoding an array of the objects I use as the datasource, it does not work. I have looked around but not found any solution.
Here is my json array:
[{"0":{"counter":"10000","word":"someword1"},"1":{"counter":"9980","word":"someword21"},"2":{"counter":"9960","word":"someword3"},"3":{"counter":"9940","word":"someword4"},"4":{"counter":"9920","word":"someword5"}}]
Can anyone see a problem with the array? Or is this a wrong formatting, providing an array?
Here's the rest of the script which works without the "0","1" indexes.
Thanks for any help,
Ole M