
Tom Schaefer - 2009-01-14 12:13:59 -
In reply to message 1 from tuomas
When I look at your array composition,
then it is no wonder that the class runs into an error.
The array has an assoc key named index.
Goto http://www.query4u.de/vizapi/
and look into the sample code.
There you will find the array notation:
or try this:
array(
array(0, 0, '2004'),
array(0, 1, 1000),
array(0, 2, 400),
array(1, 0, '2005'),
array(1, 1, 1170),
array(1, 2, 460),
array(2, 0, '2006'),
array(2, 1, 660),
array(2, 2, 1120),
array(3, 0, '2007'),
array(3, 1, 1030),
array(3, 2, 540),
)